Package | Description |
---|---|
org.springframework.web.socket.config.annotation |
Support for annotation-based WebSocket setup in configuration classes.
|
org.springframework.web.socket.sockjs.client |
SockJS client implementation of
WebSocketClient . |
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 |
Server-side support for SockJS transports including
TransportHandler implementations
for processing incoming requests, their
session
counterparts for sending messages over the various transports, and
DefaultSockJsService . |
org.springframework.web.socket.sockjs.transport.session |
SockJS specific implementations of
WebSocketSession . |
Modifier and Type | Method and Description |
---|---|
SockJsServiceRegistration |
SockJsServiceRegistration.setMessageCodec(SockJsMessageCodec codec)
The codec to use for encoding and decoding SockJS messages.
|
Modifier and Type | Method and Description |
---|---|
SockJsMessageCodec |
SockJsClient.getMessageCodec()
Return the SockJsMessageCodec to use.
|
SockJsMessageCodec |
AbstractClientSockJsSession.getMessageCodec() |
SockJsMessageCodec |
TransportRequest.getMessageCodec()
Return the message codec to use for encoding SockJS messages.
|
Modifier and Type | Method and Description |
---|---|
void |
SockJsClient.setMessageCodec(SockJsMessageCodec messageCodec)
Set the SockJsMessageCodec to use.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSockJsMessageCodec
An base class for SockJS message codec that provides an implementation of
AbstractSockJsMessageCodec.encode(String[]) . |
class |
Jackson2SockJsMessageCodec
A Jackson 2.6+ codec for encoding and decoding SockJS messages.
|
Modifier and Type | Method and Description |
---|---|
static SockJsFrame |
SockJsFrame.messageFrame(SockJsMessageCodec codec,
String... messages) |
Modifier and Type | Method and Description |
---|---|
SockJsMessageCodec |
TransportHandlingSockJsService.getMessageCodec() |
SockJsMessageCodec |
SockJsServiceConfig.getMessageCodec()
The codec to use for encoding and decoding SockJS messages.
|
Modifier and Type | Method and Description |
---|---|
void |
TransportHandlingSockJsService.setMessageCodec(SockJsMessageCodec messageCodec)
The codec to use for encoding and decoding SockJS messages.
|
Modifier and Type | Method and Description |
---|---|
protected SockJsMessageCodec |
AbstractSockJsSession.getMessageCodec() |