Class HttpRequestDecoder.Result

Enclosing class:

public abstract static class HttpRequestDecoder.Result extends HttpDecoder.Result<HttpResponse>
Results from HttpRequestDecoder add no additional information to HttpDecoder.Result.

This class just provides a factory for creating concrete results.

The class is declared abstract to promote the usage of the factory method.

  • Constructor Details

    • Result

      public Result(boolean overflow, boolean underflow, boolean headerCompleted, HttpResponse response, boolean responseOnly)
      Creates a new result.
      overflow - true if the data didn’t fit in the out buffer
      underflow - true if more data is expected
      headerCompleted - true if the header has completely been decoded
      response - a response to send due to an error
      responseOnly - if the result includes a response this flag indicates that no further processing besides sending the response is required