-
- All Known Implementing Classes:
AbstractHttpClient
,AbstractWarpClient
,AbstractWsClient
public interface HttpClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
didBecome(IpSocket socket)
void
didConnect()
void
didDisconnect()
void
didFail(Throwable error)
void
didRequest(HttpRequest<?> request)
void
didRespond(HttpResponse<?> response)
void
didSecure()
void
didTimeout()
HttpClientContext
httpClientContext()
long
idleTimeout()
void
setHttpClientContext(HttpClientContext context)
void
willBecome(IpSocket socket)
void
willConnect()
void
willRequest(HttpRequest<?> request)
void
willRespond(HttpResponse<?> response)
void
willSecure()
-
-
-
Method Detail
-
httpClientContext
HttpClientContext httpClientContext()
-
setHttpClientContext
void setHttpClientContext(HttpClientContext context)
-
idleTimeout
long idleTimeout()
-
willRequest
void willRequest(HttpRequest<?> request)
-
didRequest
void didRequest(HttpRequest<?> request)
-
willRespond
void willRespond(HttpResponse<?> response)
-
didRespond
void didRespond(HttpResponse<?> response)
-
willConnect
void willConnect()
-
didConnect
void didConnect()
-
willSecure
void willSecure()
-
didSecure
void didSecure()
-
willBecome
void willBecome(IpSocket socket)
-
didBecome
void didBecome(IpSocket socket)
-
didTimeout
void didTimeout()
-
didDisconnect
void didDisconnect()
-
didFail
void didFail(Throwable error)
-
-