Uses of Interface
org.springframework.web.socket.sockjs.frame.SockJsMessageCodec
Package
Description
Support for annotation-based WebSocket setup in configuration classes.
SockJS client implementation of
WebSocketClient
.Support classes for creating SockJS frames including the encoding and decoding
of SockJS message frames.
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
.SockJS specific implementations of
WebSocketSession
.-
Uses of SockJsMessageCodec in org.springframework.web.socket.config.annotation
Modifier and TypeMethodDescriptionSockJsServiceRegistration.setMessageCodec
(SockJsMessageCodec codec) The codec to use for encoding and decoding SockJS messages. -
Uses of SockJsMessageCodec in org.springframework.web.socket.sockjs.client
Modifier and TypeMethodDescriptionAbstractClientSockJsSession.getMessageCodec()
SockJsClient.getMessageCodec()
Return the SockJsMessageCodec to use.TransportRequest.getMessageCodec()
Return the message codec to use for encoding SockJS messages.Modifier and TypeMethodDescriptionvoid
SockJsClient.setMessageCodec
(SockJsMessageCodec messageCodec) Set the SockJsMessageCodec to use. -
Uses of SockJsMessageCodec in org.springframework.web.socket.sockjs.frame
Modifier and TypeClassDescriptionclass
A base class for SockJS message codec that provides an implementation ofAbstractSockJsMessageCodec.encode(String[])
.class
A Jackson 2.x codec for encoding and decoding SockJS messages.Modifier and TypeMethodDescriptionstatic SockJsFrame
SockJsFrame.messageFrame
(SockJsMessageCodec codec, String... messages) -
Uses of SockJsMessageCodec in org.springframework.web.socket.sockjs.transport
Modifier and TypeMethodDescriptionSockJsServiceConfig.getMessageCodec()
The codec to use for encoding and decoding SockJS messages.TransportHandlingSockJsService.getMessageCodec()
Modifier and TypeMethodDescriptionvoid
TransportHandlingSockJsService.setMessageCodec
(SockJsMessageCodec messageCodec) The codec to use for encoding and decoding SockJS messages. -
Uses of SockJsMessageCodec in org.springframework.web.socket.sockjs.transport.session
Modifier and TypeMethodDescriptionprotected SockJsMessageCodec
AbstractSockJsSession.getMessageCodec()