public static class NanoWSD.WebSocketFrame.CloseFrame extends NanoWSD.WebSocketFrame
NanoWSD.WebSocketFrame.CloseCode, NanoWSD.WebSocketFrame.CloseFrame, NanoWSD.WebSocketFrame.OpCodeTEXT_CHARSET| Constructor and Description |
|---|
NanoWSD.WebSocketFrame.CloseFrame(NanoWSD.WebSocketFrame.CloseCode code,
String closeReason) |
| Modifier and Type | Method and Description |
|---|---|
NanoWSD.WebSocketFrame.CloseCode |
getCloseCode() |
String |
getCloseReason() |
binary2Text, binary2Text, getBinaryPayload, getMaskingKey, getOpCode, getTextPayload, isFin, isMasked, read, setBinaryPayload, setFin, setMaskingKey, setOpCode, setTextPayload, setUnmasked, text2Binary, toString, writepublic NanoWSD.WebSocketFrame.CloseFrame(NanoWSD.WebSocketFrame.CloseCode code, String closeReason) throws CharacterCodingException
CharacterCodingExceptionpublic NanoWSD.WebSocketFrame.CloseCode getCloseCode()
public String getCloseReason()
Copyright © 2012–2016 nanohttpd. All rights reserved.