Example usage for Java io.netty.handler.codec.http.websocketx CloseWebSocketFrame fields, constructors, methods, implement or subclass
The text is from its open source code.
CloseWebSocketFrame() Creates a new empty close frame. | |
CloseWebSocketFrame(WebSocketCloseStatus status, String reasonText) Creates a new empty close frame with closing status code and reason text | |
CloseWebSocketFrame(int statusCode, String reasonText) Creates a new empty close frame with closing status code and reason text | |
CloseWebSocketFrame(boolean finalFragment, int rsv) Creates a new close frame with no losing status code and no reason text | |
CloseWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData) Creates a new close frame | |
CloseWebSocketFrame(boolean finalFragment, int rsv, int statusCode, String reasonText) Creates a new close frame with closing status code and reason text |
String | reasonText() Returns the reason text as per RFC 6455 If a reason text is not supplied, an empty string is returned. |
CloseWebSocketFrame | retain() |
int | statusCode() Returns the closing status code as per RFC 6455. |