public class CloseFrame extends ControlFrame
Frame.TypeMAX_CONTROL_PAYLOAD| 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, getPayload, isControlFrame, isDataFrame, setPayloadpublic Frame.Type getType()
getType in interface FramegetType in class WebSocketFrameCopyright © 2010 - 2020 Adobe. All Rights Reserved