public class ClosingFrame extends DataFrame
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
EMPTY_BYTES |
| Constructor and Description |
|---|
ClosingFrame() |
ClosingFrame(byte[] data) |
ClosingFrame(int code,
String reason) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
int |
getCode() |
String |
getReason() |
void |
setPayload(byte[] bytes) |
String |
toString() |
getTextPayload, getType, isLast, respond, setLast, setPayloadpublic ClosingFrame()
public ClosingFrame(int code,
String reason)
public ClosingFrame(byte[] data)
public int getCode()
public String getReason()
public void setPayload(byte[] bytes)
setPayload in class DataFrameCopyright © 2012-2013. All Rights Reserved.