Class HttpResponseEncoder.Result

java.lang.Object
org.jdrupes.httpcodec.Codec.Result
org.jdrupes.httpcodec.protocols.http.HttpEncoder.Result
org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result
All Implemented Interfaces:
Codec.ProtocolSwitchResult
Enclosing class:
HttpResponseEncoder

public abstract static class HttpResponseEncoder.Result extends HttpEncoder.Result implements Codec.ProtocolSwitchResult
The result from encoding a response.

In addition to the usual codec result, a response encoder may signal to the invoker that the connection to the requester must be closed and that the protocol has been switched.