Class HttpDecoder.Result<R extends MessageHeader>

java.lang.Object
org.jdrupes.httpcodec.Codec.Result
org.jdrupes.httpcodec.Decoder.Result<R>
org.jdrupes.httpcodec.protocols.http.HttpDecoder.Result<R>
Type Parameters:
R - the type of the response message header
Direct Known Subclasses:
HttpRequestDecoder.Result, HttpResponseDecoder.Result
Enclosing class:
HttpDecoder<T extends HttpMessageHeader,R extends HttpMessageHeader>

public static class HttpDecoder.Result<R extends MessageHeader> extends Decoder.Result<R>
Results from HttpDecoder add no additional information to Decoder.Result.

This class provides only a factory for creating the results as required by HttpDecoder.

  • Constructor Details

    • Result

      public Result(boolean overflow, boolean underflow, boolean closeConnection, boolean headerCompleted, R response, boolean responseOnly)