@Contract(threading=SAFE) public abstract class ConnectionEndpoint extends Object implements org.apache.hc.core5.io.GracefullyCloseable
| Constructor and Description |
|---|
ConnectionEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.hc.core5.http.ClassicHttpResponse |
execute(org.apache.hc.core5.http.ClassicHttpRequest request,
org.apache.hc.core5.http.impl.io.HttpRequestExecutor executor,
org.apache.hc.core5.http.protocol.HttpContext context) |
abstract boolean |
isConnected() |
abstract void |
setSocketTimeout(int timeout) |
public abstract org.apache.hc.core5.http.ClassicHttpResponse execute(org.apache.hc.core5.http.ClassicHttpRequest request,
org.apache.hc.core5.http.impl.io.HttpRequestExecutor executor,
org.apache.hc.core5.http.protocol.HttpContext context)
throws IOException,
org.apache.hc.core5.http.HttpException
IOExceptionorg.apache.hc.core5.http.HttpExceptionpublic abstract boolean isConnected()
public abstract void setSocketTimeout(int timeout)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.