| Package | Description |
|---|---|
| org.springframework.web.socket.sockjs.frame |
Support classes for creating SockJS frames including the encoding and decoding
of SockJS message frames.
|
| org.springframework.web.socket.sockjs.transport.session |
SockJS specific implementations of
WebSocketSession. |
| Modifier and Type | Method and Description |
|---|---|
static SockJsFrame |
SockJsFrame.closeFrame(int code,
String reason) |
static SockJsFrame |
SockJsFrame.closeFrameAnotherConnectionOpen() |
static SockJsFrame |
SockJsFrame.closeFrameGoAway() |
static SockJsFrame |
SockJsFrame.heartbeatFrame() |
static SockJsFrame |
SockJsFrame.messageFrame(SockJsMessageCodec codec,
String... messages) |
static SockJsFrame |
SockJsFrame.openFrame() |
| Modifier and Type | Method and Description |
|---|---|
String |
SockJsFrameFormat.format(SockJsFrame frame) |
String |
DefaultSockJsFrameFormat.format(SockJsFrame frame) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSockJsSession.writeFrame(SockJsFrame frame)
For internal use within a TransportHandler and the (TransportHandler-specific)
session class.
|
protected void |
PollingSockJsSession.writeFrame(SockJsFrame frame) |
protected void |
WebSocketServerSockJsSession.writeFrameInternal(SockJsFrame frame) |
protected void |
AbstractHttpSockJsSession.writeFrameInternal(SockJsFrame frame) |
protected abstract void |
AbstractSockJsSession.writeFrameInternal(SockJsFrame frame) |