public static class NanoWSD.WebSocketFrame.CloseFrame extends NanoWSD.WebSocketFrame
NanoWSD.WebSocketFrame.CloseCode, NanoWSD.WebSocketFrame.CloseFrame, NanoWSD.WebSocketFrame.OpCodeTEXT_CHARSET| Constructor and Description |
|---|
CloseFrame(NanoWSD.WebSocketFrame.CloseCode code,
java.lang.String closeReason) |
| Modifier and Type | Method and Description |
|---|---|
NanoWSD.WebSocketFrame.CloseCode |
getCloseCode() |
java.lang.String |
getCloseReason() |
binary2Text, binary2Text, getBinaryPayload, getMaskingKey, getOpCode, getTextPayload, isFin, isMasked, read, setBinaryPayload, setFin, setMaskingKey, setOpCode, setTextPayload, setUnmasked, text2Binary, toString, writepublic CloseFrame(NanoWSD.WebSocketFrame.CloseCode code, java.lang.String closeReason) throws java.nio.charset.CharacterCodingException
java.nio.charset.CharacterCodingExceptionpublic NanoWSD.WebSocketFrame.CloseCode getCloseCode()
public java.lang.String getCloseReason()
Copyright © 2015-2018 INTO CPS. All Rights Reserved.