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 |
DefaultSockJsFrameFormat.format(SockJsFrame frame) |
String |
SockJsFrameFormat.format(SockJsFrame frame) |
Modifier and Type | Method and Description |
---|---|
protected void |
PollingSockJsSession.writeFrame(SockJsFrame frame) |
protected void |
AbstractSockJsSession.writeFrame(SockJsFrame frame)
For internal use within a TransportHandler and the (TransportHandler-specific)
session class.
|
protected void |
WebSocketServerSockJsSession.writeFrameInternal(SockJsFrame frame) |
protected void |
AbstractHttpSockJsSession.writeFrameInternal(SockJsFrame frame) |
protected abstract void |
AbstractSockJsSession.writeFrameInternal(SockJsFrame frame) |