public class CloseFrame extends ControlFrame
Frame.TypeMAX_CONTROL_PAYLOADdata, finRsvOp, mask, masked| Constructor and Description |
|---|
CloseFrame() |
| Modifier and Type | Method and Description |
|---|---|
Frame.Type |
getType() |
static String |
truncate(String reason)
Truncate arbitrary reason into something that will fit into the CloseFrame limits.
|
assertValid, equals, isControlFrame, isDataFrame, setPayloadcopy, copyHeaders, copyHeaders, getMask, getOpCode, getPayload, getPayloadAsUTF8, getPayloadLength, hashCode, hasPayload, isFin, isLast, isMasked, isRsv1, isRsv2, isRsv3, reset, setFin, setMask, setMasked, setOpCode, setRsv1, setRsv2, setRsv3, toStringpublic Frame.Type getType()
getType in interface FramegetType in class WebSocketFrameCopyright © 1995-2015 Webtide. All Rights Reserved.