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
A factory for creating new Results.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnewResult
(boolean overflow, boolean underflow, boolean closeConnection) Create new result.
-
Constructor Details
-
Factory
protected Factory()
-
-
Method Details
-
newResult
Create new result.- Parameters:
overflow
- true if the data didn’t fit in the out bufferunderflow
- true if more data is expectedcloseConnection
- true if the connection should be closed- Returns:
- the result
-