public class NettyHttpClient extends Object
Constructor and Description |
---|
NettyHttpClient() |
NettyHttpClient(ProxyConfiguration proxyConfiguration) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
sendRequest(HttpRequest httpRequest) |
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
sendRequest(HttpRequest httpRequest,
InetSocketAddress remoteAddress) |
com.google.common.util.concurrent.SettableFuture<HttpResponse> |
sendRequest(HttpRequest httpRequest,
InetSocketAddress remoteAddress,
Integer connectionTimeoutMillis) |
HttpResponse |
sendRequest(HttpRequest httpRequest,
long timeout,
TimeUnit unit) |
public NettyHttpClient()
public NettyHttpClient(ProxyConfiguration proxyConfiguration)
public com.google.common.util.concurrent.SettableFuture<HttpResponse> sendRequest(HttpRequest httpRequest) throws SocketConnectionException
SocketConnectionException
public com.google.common.util.concurrent.SettableFuture<HttpResponse> sendRequest(HttpRequest httpRequest, @Nullable InetSocketAddress remoteAddress) throws SocketConnectionException
SocketConnectionException
public com.google.common.util.concurrent.SettableFuture<HttpResponse> sendRequest(HttpRequest httpRequest, @Nullable InetSocketAddress remoteAddress, Integer connectionTimeoutMillis) throws SocketConnectionException
SocketConnectionException
public HttpResponse sendRequest(HttpRequest httpRequest, long timeout, TimeUnit unit)
Copyright © 2018. All rights reserved.