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.handler |
TransportHandler
implementation classes as well as a concrete
SockJsService . |
org.springframework.web.socket.sockjs.transport.session |
SockJS specific implementations of
WebSocketSession . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSockJsFrameFormat
A default implementation of
SockJsFrameFormat that relies
on String.format(String, Object...) .. |
Modifier and Type | Method and Description |
---|---|
protected SockJsFrameFormat |
XhrPollingTransportHandler.getFrameFormat(ServerHttpRequest request) |
protected abstract SockJsFrameFormat |
AbstractHttpSendingTransportHandler.getFrameFormat(ServerHttpRequest request) |
protected SockJsFrameFormat |
EventSourceTransportHandler.getFrameFormat(ServerHttpRequest request) |
protected SockJsFrameFormat |
HtmlFileTransportHandler.getFrameFormat(ServerHttpRequest request) |
protected SockJsFrameFormat |
XhrStreamingTransportHandler.getFrameFormat(ServerHttpRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractHttpSockJsSession.handleInitialRequest(ServerHttpRequest request,
ServerHttpResponse response,
SockJsFrameFormat frameFormat)
Handle the first request for receiving messages on a SockJS HTTP transport
based session.
|
void |
AbstractHttpSockJsSession.handleSuccessiveRequest(ServerHttpRequest request,
ServerHttpResponse response,
SockJsFrameFormat frameFormat)
Handle all requests, except the first one, to receive messages on a SockJS
HTTP transport based session.
|