-
- All Known Implementing Classes:
AbstractHttpResponder
,HttpLaneResponder
,StaticHttpResponder
,WsUpgradeResponder
public interface HttpResponder<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Decoder<T>
contentDecoder(HttpRequest<?> request)
void
didBecome(IpSocket socket)
void
didDisconnect()
void
didFail(Throwable error)
void
didRequest(HttpRequest<T> request)
void
didRespond(HttpResponse<?> response)
void
didTimeout()
void
doRespond(HttpRequest<T> request)
HttpResponderContext
httpResponderContext()
void
setHttpResponderContext(HttpResponderContext context)
void
willBecome(IpSocket socket)
void
willRequest(HttpRequest<?> request)
void
willRespond(HttpResponse<?> response)
-
-
-
Method Detail
-
httpResponderContext
HttpResponderContext httpResponderContext()
-
setHttpResponderContext
void setHttpResponderContext(HttpResponderContext context)
-
contentDecoder
Decoder<T> contentDecoder(HttpRequest<?> request)
-
willRequest
void willRequest(HttpRequest<?> request)
-
didRequest
void didRequest(HttpRequest<T> request)
-
doRespond
void doRespond(HttpRequest<T> request)
-
willRespond
void willRespond(HttpResponse<?> response)
-
didRespond
void didRespond(HttpResponse<?> response)
-
willBecome
void willBecome(IpSocket socket)
-
didBecome
void didBecome(IpSocket socket)
-
didTimeout
void didTimeout()
-
didDisconnect
void didDisconnect()
-
didFail
void didFail(Throwable error)
-
-