public class CloseFrame extends ControlFrame
Frame.Type
MAX_CONTROL_PAYLOAD
Constructor and Description |
---|
CloseFrame() |
Modifier and Type | Method and Description |
---|---|
Frame.Type |
getType() |
static java.lang.String |
truncate(java.lang.String reason)
Truncate arbitrary reason into something that will fit into the CloseFrame limits.
|
assertValid, equals, getPayload, isControlFrame, isDataFrame, setPayload
public Frame.Type getType()
getType
in interface Frame
getType
in class WebSocketFrame
public static java.lang.String truncate(java.lang.String reason)
reason
- the arbitrary reason to possibly truncate.Copyright © 2010 - 2019 Adobe. All Rights Reserved