Class HttpEncoder.Result.Factory

java.lang.Object
org.jdrupes.httpcodec.Codec.Result.Factory
org.jdrupes.httpcodec.protocols.http.HttpEncoder.Result.Factory
Direct Known Subclasses:
HttpRequestEncoder.Result.Factory, HttpResponseEncoder.Result.Factory
Enclosing class:
HttpEncoder.Result

protected abstract static class HttpEncoder.Result.Factory extends Codec.Result.Factory
A factory for creating new Results.
  • Constructor Details

  • Method Details

    • newResult

      public HttpEncoder.Result newResult(boolean overflow, boolean underflow, boolean closeConnection)
      Create new result.
      Parameters:
      overflow - true if the data didn’t fit in the out buffer
      underflow - true if more data is expected
      closeConnection - true if the connection should be closed
      Returns:
      the result