-
- All Known Implementing Classes:
AbstractHttpRequester
,WsUpgradeRequester
public interface HttpRequester<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Decoder<T>
contentDecoder(HttpResponse<?> response)
void
didBecome(IpSocket socket)
void
didDisconnect()
void
didFail(Throwable error)
void
didRequest(HttpRequest<?> request)
void
didRespond(HttpResponse<T> response)
void
didTimeout()
void
doRequest()
HttpRequesterContext
httpRequesterContext()
void
setHttpRequesterContext(HttpRequesterContext context)
void
willBecome(IpSocket socket)
void
willRequest(HttpRequest<?> request)
void
willRespond(HttpResponse<?> response)
-
-
-
Method Detail
-
httpRequesterContext
HttpRequesterContext httpRequesterContext()
-
setHttpRequesterContext
void setHttpRequesterContext(HttpRequesterContext context)
-
doRequest
void doRequest()
-
contentDecoder
Decoder<T> contentDecoder(HttpResponse<?> response)
-
willRequest
void willRequest(HttpRequest<?> request)
-
didRequest
void didRequest(HttpRequest<?> request)
-
willRespond
void willRespond(HttpResponse<?> response)
-
didRespond
void didRespond(HttpResponse<T> response)
-
willBecome
void willBecome(IpSocket socket)
-
didBecome
void didBecome(IpSocket socket)
-
didTimeout
void didTimeout()
-
didDisconnect
void didDisconnect()
-
didFail
void didFail(Throwable error)
-
-