public class SockJsFrame extends Object
Constructor and Description |
---|
SockJsFrame(String content) |
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 SockJsFrame(String content)
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()