Class WsDecoder.Result.Factory

Enclosing class:

  • Constructor Details

  • Method Details

    • newResult

      public WsDecoder.Result newResult(boolean overflow, boolean underflow, boolean closeConnection, boolean headerCompleted, WsFrameHeader response, boolean responseOnly)
      Create a new result.
      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
      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
      the result