public class Frame extends Object
| Constructor and Description |
|---|
Frame() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
binary(byte[] message) |
static byte[] |
close(byte[] status,
String reason) |
static Fragment |
decode(byte[] buffer) |
static byte[] |
ping(byte[] message) |
static byte[] |
pong(byte[] message) |
static byte[] |
text(String message) |
public static byte[] ping(byte[] message)
throws WebSocketException
WebSocketExceptionpublic static byte[] pong(byte[] message)
throws WebSocketException
WebSocketExceptionpublic static byte[] close(byte[] status,
String reason)
throws WebSocketException
WebSocketExceptionpublic static byte[] text(String message)
public static byte[] binary(byte[] message)
public static Fragment decode(byte[] buffer) throws SyntaxException
SyntaxExceptionCopyright © 2017. All rights reserved.