public class SockJsFrame extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SockJsFrame.DefaultFrameFormat |
static interface |
SockJsFrame.FrameFormat |
Modifier and Type | Method and Description |
---|---|
static SockJsFrame |
closeFrame(int code,
String reason) |
static SockJsFrame |
closeFrameAnotherConnectionOpen() |
static SockJsFrame |
closeFrameGoAway() |
boolean |
equals(Object other) |
String |
getContent() |
byte[] |
getContentBytes() |
int |
hashCode() |
static SockJsFrame |
heartbeatFrame() |
static SockJsFrame |
messageFrame(SockJsMessageCodec codec,
String... messages) |
static SockJsFrame |
openFrame() |
String |
toString() |
public static SockJsFrame openFrame()
public static SockJsFrame heartbeatFrame()
public static SockJsFrame messageFrame(SockJsMessageCodec codec, String... messages)
public static SockJsFrame closeFrameGoAway()
public static SockJsFrame closeFrameAnotherConnectionOpen()
public static SockJsFrame closeFrame(int code, String reason)
public String getContent()
public byte[] getContentBytes()