-
static final class
State event when a connection has been achieved; payload is the
Channel; invoking close() on it will abort.
static final class
State event triggered when one chunk of content has arrived; if the
server is using chunked transfer encoding, this state will be fired
once for each chunk; when the FullContentReceived event is fired,
there will be no more ContentReceived events.
static final class
State event triggered when an exception is thrown somewhere in
processing of the request or response.
static final class
Convenience state event providing the entire response and its body
as a FullHttpResponse.
static final class
State event triggered when the entire response body has arrived.
static final class
State event triggered when the response header has arrived,
but not the response body.
static final class
State event triggered when a redirect is followed.
static final class
State event when the HTTP request is about to be sent; payload
is the HTTP request (you can still modify headers, etc at this point).
static final class
State event triggered when a timeout occurs.
Get the type of the data payload of this event
Add an event handler for a particular event
Add a listener which is notified of all state changes (there are many!).
Add an event handler which will be called for every event