Class WsEncoder.Result.Factory

java.lang.Object
org.jdrupes.httpcodec.Codec.Result.Factory
org.jdrupes.httpcodec.protocols.websocket.WsEncoder.Result.Factory
Enclosing class:
WsEncoder.Result

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

  • Method Details

    • newResult

      public WsEncoder.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