public class CloseFrame extends ControlFrame
Frame.Type
MAX_CONTROL_PAYLOAD
data, 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, setPayload
copy, copyHeaders, copyHeaders, getMask, getOpCode, getPayload, getPayloadAsUTF8, getPayloadLength, hashCode, hasPayload, isFin, isLast, isMasked, isRsv1, isRsv2, isRsv3, reset, setFin, setMask, setMasked, setOpCode, setRsv1, setRsv2, setRsv3, toString
public Frame.Type getType()
getType
in interface Frame
getType
in class WebSocketFrame
Copyright © 1995-2015 Webtide. All Rights Reserved.