|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.websockets.DataFrame
org.glassfish.grizzly.websockets.draft06.ClosingFrame
public class ClosingFrame
| Field Summary | |
|---|---|
static byte[] |
EMPTY_BYTES
|
| Constructor Summary | |
|---|---|
ClosingFrame(byte[] data)
|
|
ClosingFrame(int code,
java.lang.String reason)
|
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
|
int |
getCode()
|
void |
setPayload(byte[] bytes)
|
java.lang.String |
toString()
|
| Methods inherited from class org.glassfish.grizzly.websockets.DataFrame |
|---|
getTextPayload, getType, isLast, respond, setLast, setPayload |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte[] EMPTY_BYTES
| Constructor Detail |
|---|
public ClosingFrame(int code,
java.lang.String reason)
public ClosingFrame(byte[] data)
| Method Detail |
|---|
public int getCode()
public void setPayload(byte[] bytes)
setPayload in class DataFramepublic byte[] getBytes()
getBytes in class DataFramepublic java.lang.String toString()
toString in class DataFrame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||