Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractClientSockJsSession - Class in org.springframework.web.socket.sockjs.client
-
Base class for SockJS client implementations of
WebSocketSession. - AbstractClientSockJsSession(TransportRequest, WebSocketHandler, CompletableFuture) - Constructor for class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- AbstractHandshakeHandler - Class in org.springframework.web.socket.server.support
-
A base class for
HandshakeHandlerimplementations, independent of the Servlet API. - AbstractHandshakeHandler() - Constructor for class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
Default constructor that uses
StandardWebSocketUpgradeStrategy. - AbstractHandshakeHandler(RequestUpgradeStrategy) - Constructor for class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
A constructor that accepts a runtime-specific
RequestUpgradeStrategy. - AbstractHttpReceivingTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
Base class for HTTP transport handlers that receive messages via HTTP POST.
- AbstractHttpReceivingTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
- AbstractHttpSendingTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
Base class for HTTP transport handlers that push messages to connected clients.
- AbstractHttpSendingTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler
- AbstractHttpSockJsSession - Class in org.springframework.web.socket.sockjs.transport.session
-
An abstract base class for use with HTTP transport SockJS sessions.
- AbstractHttpSockJsSession(String, SockJsServiceConfig, WebSocketHandler, Map) - Constructor for class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- AbstractSockJsMessageCodec - Class in org.springframework.web.socket.sockjs.frame
-
A base class for SockJS message codec that provides an implementation of
AbstractSockJsMessageCodec.encode(String[]). - AbstractSockJsMessageCodec() - Constructor for class org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec
- AbstractSockJsService - Class in org.springframework.web.socket.sockjs.support
-
An abstract base class for
SockJsServiceimplementations that provides SockJS path resolution and handling of static SockJS requests (for example, "/info", "/iframe.html", etc). - AbstractSockJsService(TaskScheduler) - Constructor for class org.springframework.web.socket.sockjs.support.AbstractSockJsService
- AbstractSockJsSession - Class in org.springframework.web.socket.sockjs.transport.session
-
An abstract base class for SockJS sessions implementing
SockJsSession. - AbstractSockJsSession(String, SockJsServiceConfig, WebSocketHandler, Map) - Constructor for class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
Create a new instance.
- AbstractSubProtocolEvent - Class in org.springframework.web.socket.messaging
-
A base class for events for a message received from a WebSocket client and parsed into a higher-level sub-protocol (for example, STOMP).
- AbstractSubProtocolEvent(Object, Message) - Constructor for class org.springframework.web.socket.messaging.AbstractSubProtocolEvent
-
Create a new AbstractSubProtocolEvent.
- AbstractSubProtocolEvent(Object, Message, Principal) - Constructor for class org.springframework.web.socket.messaging.AbstractSubProtocolEvent
-
Create a new AbstractSubProtocolEvent.
- AbstractTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
Common base class for
TransportHandlerimplementations. - AbstractTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
- AbstractWebSocketClient - Class in org.springframework.web.socket.client
-
Abstract base class for
WebSocketClientimplementations. - AbstractWebSocketClient() - Constructor for class org.springframework.web.socket.client.AbstractWebSocketClient
- AbstractWebSocketHandler - Class in org.springframework.web.socket.handler
-
A convenient base class for
WebSocketHandlerimplementation with empty methods. - AbstractWebSocketHandler() - Constructor for class org.springframework.web.socket.handler.AbstractWebSocketHandler
- AbstractWebSocketHandlerRegistration<M> - Class in org.springframework.web.socket.config.annotation
-
Base class for
WebSocketHandlerRegistrationsthat gathers all the configuration options but allows subclasses to put together the actual HTTP request mappings. - AbstractWebSocketHandlerRegistration() - Constructor for class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- AbstractWebSocketMessage<T> - Class in org.springframework.web.socket
-
A message that can be handled or sent on a WebSocket connection.
- AbstractWebSocketSession<T> - Class in org.springframework.web.socket.adapter
-
An abstract base class for implementations of
WebSocketSession. - AbstractWebSocketSession(Map) - Constructor for class org.springframework.web.socket.adapter.AbstractWebSocketSession
-
Create a new instance and associate the given attributes with it.
- AbstractXhrTransport - Class in org.springframework.web.socket.sockjs.client
-
Abstract base class for XHR transport implementations to extend.
- AbstractXhrTransport() - Constructor for class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- add(String, String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Add the given, single header value under the given name.
- addArgumentResolvers(List) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- addArgumentResolvers(List) - Method in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Add resolvers to support custom controller method argument types.
- addCacheHeaders(ServerHttpResponse) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
- addDecoratorFactory(WebSocketHandlerDecoratorFactory) - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Add a factory that to decorate the handler used to process WebSocket messages.
- addEndpoint(String...) - Method in interface org.springframework.web.socket.config.annotation.StompEndpointRegistry
-
Register a STOMP over WebSocket endpoint at the given mapping path.
- addEndpoint(String...) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
- addHandler(WebSocketHandler, String...) - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- addHandler(WebSocketHandler, String...) - Method in class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry
- addHandler(WebSocketHandler, String...) - Method in interface org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration
-
Add more handlers that will share the same configuration (interceptors, SockJS config, etc).
- addHandler(WebSocketHandler, String...) - Method in interface org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry
-
Configure a WebSocketHandler at the specified URL paths.
- addInterceptors(HandshakeInterceptor...) - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- addInterceptors(HandshakeInterceptor...) - Method in interface org.springframework.web.socket.config.annotation.StompWebSocketEndpointRegistration
-
Configure the HandshakeInterceptor's to use.
- addInterceptors(HandshakeInterceptor...) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompWebSocketEndpointRegistration
- addInterceptors(HandshakeInterceptor...) - Method in interface org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration
-
Configure interceptors for the handshake request.
- addNoCacheHeaders(ServerHttpResponse) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
- addProtocolHandler(SubProtocolHandler) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Register a sub-protocol handler.
- addReturnValueHandlers(List) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- addReturnValueHandlers(List) - Method in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Add handlers to support custom controller method return value types.
- addSockJsServiceMapping(M, SockJsService, WebSocketHandler, String) - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- addSockJsServiceMapping(MultiValueMap, SockJsService, WebSocketHandler, String) - Method in class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistration
- addTimeoutTask(Runnable) - Method in interface org.springframework.web.socket.sockjs.client.TransportRequest
-
Register a timeout cleanup task to invoke if the SockJS session is not fully established within the calculated retransmission timeout period.
- addWebSocketConfigurer(Consumer) - Method in class org.springframework.web.socket.server.jetty.JettyRequestUpgradeStrategy
-
Add a callback to configure WebSocket server parameters on
JettyWebSocketServerContainer. - addWebSocketHandlerMapping(M, WebSocketHandler, HandshakeHandler, HandshakeInterceptor[], String) - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- addWebSocketHandlerMapping(MultiValueMap, WebSocketHandler, HandshakeHandler, HandshakeInterceptor[], String) - Method in class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistration
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.handler.AbstractWebSocketHandler
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.handler.LoggingWebSocketHandlerDecorator
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.handler.PerConnectionWebSocketHandler
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in interface org.springframework.web.socket.WebSocketHandler
-
Invoked after the WebSocket connection has been closed by either side, or after a transport error has occurred.
- afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.handler.AbstractWebSocketHandler
- afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator
- afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.handler.LoggingWebSocketHandlerDecorator
- afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.handler.PerConnectionWebSocketHandler
- afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
- afterConnectionEstablished(WebSocketSession) - Method in interface org.springframework.web.socket.WebSocketHandler
-
Invoked after WebSocket negotiation has succeeded and the WebSocket connection is opened and ready for use.
- afterHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Exception) - Method in interface org.springframework.web.socket.server.HandshakeInterceptor
-
Invoked after the handshake is done.
- afterHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Exception) - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
- afterHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Exception) - Method in class org.springframework.web.socket.server.support.OriginHandshakeInterceptor
- afterPropertiesSet() - Method in class org.springframework.web.socket.messaging.WebSocketAnnotationMethodMessageHandler
- afterPropertiesSet() - Method in class org.springframework.web.socket.server.standard.ServerEndpointExporter
- afterPropertiesSet() - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- afterSessionEnded(WebSocketSession, CloseStatus, MessageChannel) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
- afterSessionEnded(WebSocketSession, CloseStatus, MessageChannel) - Method in interface org.springframework.web.socket.messaging.SubProtocolHandler
-
Invoked after a
WebSocketSessionhas ended. - afterSessionStarted(WebSocketSession, MessageChannel) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
- afterSessionStarted(WebSocketSession, MessageChannel) - Method in interface org.springframework.web.socket.messaging.SubProtocolHandler
-
Invoked after a
WebSocketSessionhas started. - afterSingletonsInstantiated() - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
- afterSingletonsInstantiated() - Method in class org.springframework.web.socket.server.standard.ServerEndpointExporter
- afterTransportClosed(CloseStatus) - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- AnnotatedEndpointConnectionManager - Class in org.springframework.web.socket.client.standard
-
WebSocket
connection managerthat connects to the server viaWebSocketContainerand handles the session with an@ClientEndpointendpoint. - AnnotatedEndpointConnectionManager(Class, String, Object...) - Constructor for class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
- AnnotatedEndpointConnectionManager(Object, String, Object...) - Constructor for class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
- applyAfterHandshake(ServerHttpRequest, ServerHttpResponse, Exception) - Method in class org.springframework.web.socket.server.support.HandshakeInterceptorChain
- applyBeforeHandshake(ServerHttpRequest, ServerHttpResponse, Map) - Method in class org.springframework.web.socket.server.support.HandshakeInterceptorChain
- applyJsonQuoting(String) - Method in class org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec
-
Apply standard JSON string quoting (see json.org).
- applyJsonQuoting(String) - Method in class org.springframework.web.socket.sockjs.frame.Jackson2SockJsMessageCodec
-
Deprecated.
- applyJsonQuoting(String) - Method in class org.springframework.web.socket.sockjs.frame.JacksonJsonSockJsMessageCodec
- asBytes() - Method in class org.springframework.web.socket.TextMessage
- assertUri(URI) - Method in class org.springframework.web.socket.client.AbstractWebSocketClient
B
- BAD_DATA - Static variable in class org.springframework.web.socket.CloseStatus
-
"1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (for example, non-UTF-8 [RFC3629] data within a text message)."
- BeanCreatingHandlerProvider<T> - Class in org.springframework.web.socket.handler
-
Instantiates a target handler through a Spring
BeanFactoryand also provides an equivalent destroy method. - BeanCreatingHandlerProvider(Class) - Constructor for class org.springframework.web.socket.handler.BeanCreatingHandlerProvider
- beforeHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map) - Method in interface org.springframework.web.socket.server.HandshakeInterceptor
-
Invoked before the handshake is processed.
- beforeHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map) - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
- beforeHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map) - Method in class org.springframework.web.socket.server.support.OriginHandshakeInterceptor
- BinaryDecoder() - Constructor for class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport.BinaryDecoder
- BinaryEncoder() - Constructor for class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport.BinaryEncoder
- BinaryMessage - Class in org.springframework.web.socket
-
A binary WebSocket message.
- BinaryMessage(byte[]) - Constructor for class org.springframework.web.socket.BinaryMessage
-
Create a new binary WebSocket message with the given byte[] payload.
- BinaryMessage(byte[], boolean) - Constructor for class org.springframework.web.socket.BinaryMessage
-
Create a new binary WebSocket message with the given byte[] payload representing the full or partial message content.
- BinaryMessage(byte[], int, int, boolean) - Constructor for class org.springframework.web.socket.BinaryMessage
-
Create a new binary WebSocket message by wrapping an existing byte array.
- BinaryMessage(ByteBuffer) - Constructor for class org.springframework.web.socket.BinaryMessage
-
Create a new binary WebSocket message with the given ByteBuffer payload.
- BinaryMessage(ByteBuffer, boolean) - Constructor for class org.springframework.web.socket.BinaryMessage
-
Create a new binary WebSocket message with the given payload representing the full or partial message content.
- BinaryWebSocketHandler - Class in org.springframework.web.socket.handler
-
A convenient base class for
WebSocketHandlerimplementations that process binary messages only. - BinaryWebSocketHandler() - Constructor for class org.springframework.web.socket.handler.BinaryWebSocketHandler
- buildSockJsUrlInfo(URI) - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
Create a new
SockJsUrlInfofor the current client execution.
C
- cancelHeartbeat() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- CHARSET - Static variable in class org.springframework.web.socket.sockjs.frame.SockJsFrame
-
The charset used by SockJS.
- checkNativeSessionInitialized() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- checkOrigin(ServerHttpRequest, ServerHttpResponse, HttpMethod...) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
- checkSessionType(SockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
- checkSessionType(SockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.EventSourceTransportHandler
- checkSessionType(SockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler
- checkSessionType(SockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- checkSessionType(SockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrPollingTransportHandler
- checkSessionType(SockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrStreamingTransportHandler
- checkSessionType(SockJsSession) - Method in interface org.springframework.web.socket.sockjs.transport.TransportHandler
-
Check whether the type of the given session matches the transport type of this
TransportHandlerwhere session id and the transport type are extracted from the SockJS URL. - clear() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- clearServerInfoCache() - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
By default, the result of a SockJS "Info" request, including whether the server has WebSocket disabled and how long the request took (used for calculating transport timeout time) is cached.
- close() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- close() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- close() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- close() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
Performs cleanup and notify the
WebSocketHandler. - close() - Method in interface org.springframework.web.socket.WebSocketSession
-
Close the WebSocket connection with status 1000, i.e.
- close(CloseStatus) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- close(CloseStatus) - Method in class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
- close(CloseStatus) - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- close(CloseStatus) - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- close(CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
Performs cleanup and notify the
WebSocketHandler. - close(CloseStatus) - Method in interface org.springframework.web.socket.WebSocketSession
-
Close the WebSocket connection with the given close status.
- CLOSE - Enum constant in enum class org.springframework.web.socket.sockjs.frame.SockJsFrameType
- closeConnection() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
-
Subclasses implement this to close the connection.
- closeConnection() - Method in class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
- closeConnection() - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- closeConnection() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
- closeFrame(int, String) - Static method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- closeFrameAnotherConnectionOpen() - Static method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- closeFrameGoAway() - Static method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- closeInternal(CloseStatus) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- closeInternal(CloseStatus) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- closeInternal(CloseStatus) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- closeInternal(CloseStatus) - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- CloseStatus - Class in org.springframework.web.socket
-
Represents a WebSocket close status code and reason.
- CloseStatus(int) - Constructor for class org.springframework.web.socket.CloseStatus
-
Create a new
CloseStatusinstance. - CloseStatus(int, String) - Constructor for class org.springframework.web.socket.CloseStatus
-
Create a new
CloseStatusinstance. - ConcurrentWebSocketSessionDecorator - Class in org.springframework.web.socket.handler
-
Wrap a
WebSocketSessionto guarantee only one thread can send messages at a time. - ConcurrentWebSocketSessionDecorator(WebSocketSession, int, int) - Constructor for class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
-
Basic constructor.
- ConcurrentWebSocketSessionDecorator(WebSocketSession, int, int, ConcurrentWebSocketSessionDecorator.OverflowStrategy) - Constructor for class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
-
Constructor that also specifies the overflow strategy to use.
- ConcurrentWebSocketSessionDecorator.OverflowStrategy - Enum Class in org.springframework.web.socket.handler
-
Enum for options of what to do when the buffer fills up.
- configureClientInboundChannel(ChannelRegistration) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- configureClientInboundChannel(ChannelRegistration) - Method in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Configure the
MessageChannelused for incoming messages from WebSocket clients. - configureClientOutboundChannel(ChannelRegistration) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- configureClientOutboundChannel(ChannelRegistration) - Method in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Configure the
MessageChannelused for outbound messages to WebSocket clients. - configureMessageBroker(MessageBrokerRegistry) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- configureMessageBroker(MessageBrokerRegistry) - Method in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Configure message broker options.
- configureMessageConverters(List) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- configureMessageConverters(List) - Method in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Configure the message converters to use when extracting the payload of messages in annotated methods and when sending messages (for example, through the "broker" SimpMessagingTemplate).
- configureWebSocketTransport(WebSocketTransportRegistration) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- configureWebSocketTransport(WebSocketTransportRegistration) - Method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- configureWebSocketTransport(WebSocketTransportRegistration) - Method in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Configure options related to the processing of messages received from and sent to WebSocket clients.
- connectAsync(String, StompSessionHandler, Object...) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Connect to the given WebSocket URL and notify the given
StompSessionHandlerwhen connected on the STOMP level after the CONNECTED frame is received. - connectAsync(String, WebSocketHttpHeaders, StompHeaders, StompSessionHandler, Object...) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
An overloaded version of
WebSocketStompClient.connectAsync(String, StompSessionHandler, Object...)that also acceptsWebSocketHttpHeadersto use for the WebSocket handshake andStompHeadersfor the STOMP CONNECT frame. - connectAsync(String, WebSocketHttpHeaders, StompSessionHandler, Object...) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
An overloaded version of
WebSocketStompClient.connectAsync(String, StompSessionHandler, Object...)that also acceptsWebSocketHttpHeadersto use for the WebSocket handshake. - connectAsync(URI, WebSocketHttpHeaders, StompHeaders, StompSessionHandler) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
An overloaded version of
WebSocketStompClient.connectAsync(String, WebSocketHttpHeaders, StompSessionHandler, Object...)that accepts a fully preparedURI. - connectAsync(TransportRequest, WebSocketHandler) - Method in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- connectAsync(TransportRequest, WebSocketHandler) - Method in interface org.springframework.web.socket.sockjs.client.Transport
-
Connect the transport.
- connectAsync(TransportRequest, WebSocketHandler) - Method in class org.springframework.web.socket.sockjs.client.WebSocketTransport
- CONNECTED_USER_HEADER - Static variable in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
The name of the header set on the CONNECTED frame indicating the name of the user authenticated on the WebSocket session.
- connectInternal(TransportRequest, WebSocketHandler, URI, HttpHeaders, XhrClientSockJsSession, CompletableFuture) - Method in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- connectInternal(TransportRequest, WebSocketHandler, URI, HttpHeaders, XhrClientSockJsSession, CompletableFuture) - Method in class org.springframework.web.socket.sockjs.client.JettyXhrTransport
- connectInternal(TransportRequest, WebSocketHandler, URI, HttpHeaders, XhrClientSockJsSession, CompletableFuture) - Method in class org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport
- ConnectionManagerSupport - Class in org.springframework.web.socket.client
-
Base class for a connection manager that automates the process of connecting to a WebSocket server with the Spring ApplicationContext lifecycle.
- ConnectionManagerSupport(String, Object...) - Constructor for class org.springframework.web.socket.client.ConnectionManagerSupport
-
Constructor with a URI template and variables.
- ConnectionManagerSupport(URI) - Constructor for class org.springframework.web.socket.client.ConnectionManagerSupport
-
Constructor with a prepared
URI. - containsHeader(String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- ConvertingEncoderDecoderSupport<T,
M> - Class in org.springframework.web.socket.adapter.standard -
Base class that can be used to implement a standard
Encoderand/orDecoder. - ConvertingEncoderDecoderSupport() - Constructor for class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
- ConvertingEncoderDecoderSupport.BinaryDecoder<T> - Class in org.springframework.web.socket.adapter.standard
-
A binary
jakarta.websocket.Encoderthat delegates to Spring's conversion service. - ConvertingEncoderDecoderSupport.BinaryEncoder<T> - Class in org.springframework.web.socket.adapter.standard
-
A binary
jakarta.websocket.Encoderthat delegates to Spring's conversion service. - ConvertingEncoderDecoderSupport.TextDecoder<T> - Class in org.springframework.web.socket.adapter.standard
-
A Text
jakarta.websocket.Encoderthat delegates to Spring's conversion service. - ConvertingEncoderDecoderSupport.TextEncoder<T> - Class in org.springframework.web.socket.adapter.standard
-
A text
jakarta.websocket.Encoderthat delegates to Spring's conversion service. - corsConfiguration - Variable in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
- createAnnotationMethodMessageHandler(AbstractSubscribableChannel, AbstractSubscribableChannel, SimpMessagingTemplate) - Method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- createLocalUserRegistry(Integer) - Method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- createMappings() - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- createMappings() - Method in class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistration
- createSession(String, WebSocketHandler, Map) - Method in class org.springframework.web.socket.sockjs.transport.handler.EventSourceTransportHandler
- createSession(String, WebSocketHandler, Map) - Method in class org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler
- createSession(String, WebSocketHandler, Map) - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- createSession(String, WebSocketHandler, Map) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrPollingTransportHandler
- createSession(String, WebSocketHandler, Map) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrStreamingTransportHandler
- createSession(String, WebSocketHandler, Map) - Method in interface org.springframework.web.socket.sockjs.transport.SockJsSessionFactory
-
Create a new SockJS session.
D
- decode(String) - Method in class org.springframework.web.socket.sockjs.frame.Jackson2SockJsMessageCodec
-
Deprecated.
- decode(String) - Method in class org.springframework.web.socket.sockjs.frame.JacksonJsonSockJsMessageCodec
- decode(String) - Method in interface org.springframework.web.socket.sockjs.frame.SockJsMessageCodec
-
Decode the given SockJS message frame.
- decode(M) - Method in class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
-
Decode the message into an object.
- decodeInputStream(InputStream) - Method in class org.springframework.web.socket.sockjs.frame.Jackson2SockJsMessageCodec
-
Deprecated.
- decodeInputStream(InputStream) - Method in class org.springframework.web.socket.sockjs.frame.JacksonJsonSockJsMessageCodec
- decodeInputStream(InputStream) - Method in interface org.springframework.web.socket.sockjs.frame.SockJsMessageCodec
-
Decode the given SockJS message frame.
- decorate(WebSocketHandler) - Method in interface org.springframework.web.socket.handler.WebSocketHandlerDecoratorFactory
-
Decorate the given WebSocketHandler.
- decorate(WebSocketHandler) - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
-
Decorate the
WebSocketHandlerpassed into the constructor. - decorateSession(WebSocketSession) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Decorate the given
WebSocketSession, if desired. - decorateWebSocketHandler(WebSocketHandler) - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
-
Decorate the WebSocketHandler provided to the class constructor.
- decorateWebSocketHandler(WebSocketHandler) - Method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- DefaultHandshakeHandler - Class in org.springframework.web.socket.server.support
-
A default
HandshakeHandlerimplementation, extendingAbstractHandshakeHandlerwith Servlet-specific initialization support. - DefaultHandshakeHandler() - Constructor for class org.springframework.web.socket.server.support.DefaultHandshakeHandler
- DefaultHandshakeHandler(RequestUpgradeStrategy) - Constructor for class org.springframework.web.socket.server.support.DefaultHandshakeHandler
- DefaultSimpUserRegistry - Class in org.springframework.web.socket.messaging
-
A default implementation of
SimpUserRegistrythat relies onAbstractSubProtocolEventapplication context events to keep track of connected users and their subscriptions. - DefaultSimpUserRegistry() - Constructor for class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
- DefaultSockJsFrameFormat - Class in org.springframework.web.socket.sockjs.frame
-
A default implementation of
SockJsFrameFormatthat relies onString.format(String, Object...).. - DefaultSockJsFrameFormat(String) - Constructor for class org.springframework.web.socket.sockjs.frame.DefaultSockJsFrameFormat
- DefaultSockJsService - Class in org.springframework.web.socket.sockjs.transport.handler
-
A default implementation of
SockJsServicewith all defaultTransportHandlerimplementations pre-registered. - DefaultSockJsService(TaskScheduler) - Constructor for class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
-
Create a DefaultSockJsService with default
handlertypes. - DefaultSockJsService(TaskScheduler, Collection) - Constructor for class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
-
Create a DefaultSockJsService with overridden
handlertypes replacing the corresponding default handler implementation. - DefaultSockJsService(TaskScheduler, TransportHandler...) - Constructor for class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
-
Create a DefaultSockJsService with overridden
handlertypes replacing the corresponding default handler implementation. - delegateConnectionClosed(CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
Invoked when the underlying connection is closed.
- delegateConnectionEstablished() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- delegateError(Throwable) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- delegateMessages(String...) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- DelegatingWebSocketConfiguration - Class in org.springframework.web.socket.config.annotation
-
A variation of
WebSocketConfigurationSupportthat detects implementations ofWebSocketConfigurerin Spring configuration and invokes them in order to configure WebSocket request handling. - DelegatingWebSocketConfiguration() - Constructor for class org.springframework.web.socket.config.annotation.DelegatingWebSocketConfiguration
- DelegatingWebSocketMessageBrokerConfiguration - Class in org.springframework.web.socket.config.annotation
-
A
WebSocketMessageBrokerConfigurationSupportextension that detects beans of typeWebSocketMessageBrokerConfigurerand delegates to all of them allowing callback style customization of the configuration provided inWebSocketMessageBrokerConfigurationSupport. - DelegatingWebSocketMessageBrokerConfiguration() - Constructor for class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- destroy() - Method in class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
-
Called to destroy the encoder/decoder.
- destroy(T) - Method in class org.springframework.web.socket.handler.BeanCreatingHandlerProvider
- determineHandlerSupportedProtocols(WebSocketHandler) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
Determine the sub-protocols supported by the given WebSocketHandler by checking whether it is an instance of
SubProtocolCapable. - determineUser(ServerHttpRequest, WebSocketHandler, Map) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
A method that can be used to associate a user with the WebSocket session in the process of being established.
- disableHeartbeat() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- disableHeartbeat() - Method in interface org.springframework.web.socket.sockjs.transport.SockJsSession
-
Disable the SockJS heartbeat, presumably because a higher-level protocol has heartbeats enabled for the session already.
- disconnect(CloseStatus) - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- disconnect(CloseStatus) - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- disconnect(CloseStatus) - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- disconnect(CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- disconnect(CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
Actually close the underlying WebSocket session or in the case of HTTP transports complete the underlying request.
- disconnect(CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- DISCONNECTED_CLIENT_LOG_CATEGORY - Static variable in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
Log category to use for network failure after a client has gone away.
- doHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map) - Method in interface org.springframework.web.socket.server.HandshakeHandler
-
Initiate the handshake.
- doHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- doHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map) - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- doStart() - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- doStop() - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- DROP - Enum constant in enum class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator.OverflowStrategy
-
Drop the oldest messages from the buffer.
E
- EnableWebSocket - Annotation Interface in org.springframework.web.socket.config.annotation
-
Add this annotation to an
@Configurationclass to configure processing WebSocket requests. - EnableWebSocketMessageBroker - Annotation Interface in org.springframework.web.socket.config.annotation
-
Add this annotation to an
@Configurationclass to enable broker-backed messaging over WebSocket using a higher-level messaging sub-protocol. - encode(String...) - Method in class org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec
- encode(String...) - Method in interface org.springframework.web.socket.sockjs.frame.SockJsMessageCodec
-
Encode the given messages as a SockJS message frame.
- encode(T) - Method in class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
-
Encode an object to a message.
- EndpointConnectionManager - Class in org.springframework.web.socket.client.standard
-
WebSocket
connection managerthat connects to the server viaWebSocketContainerand handles the session with anEndpoint. - EndpointConnectionManager(Endpoint, String, Object...) - Constructor for class org.springframework.web.socket.client.standard.EndpointConnectionManager
- EndpointConnectionManager(Class, String, Object...) - Constructor for class org.springframework.web.socket.client.standard.EndpointConnectionManager
- equals(Object) - Method in class org.springframework.web.socket.AbstractWebSocketMessage
- equals(Object) - Method in class org.springframework.web.socket.CloseStatus
- equals(Object) - Method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- equals(Object) - Method in class org.springframework.web.socket.WebSocketExtension
- equals(Object) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- equalsCode(CloseStatus) - Method in class org.springframework.web.socket.CloseStatus
- EVENT_SOURCE - Enum constant in enum class org.springframework.web.socket.sockjs.transport.TransportType
- EventSourceTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
A TransportHandler for sending messages via Server-Sent Events: Server-Sent Events.
- EventSourceTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.EventSourceTransportHandler
- ExceptionWebSocketHandlerDecorator - Class in org.springframework.web.socket.handler
-
An exception handling
WebSocketHandlerDecorator. - ExceptionWebSocketHandlerDecorator(WebSocketHandler) - Constructor for class org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator
- execute(WebSocketHandler, String, Object...) - Method in class org.springframework.web.socket.client.AbstractWebSocketClient
- execute(WebSocketHandler, String, Object...) - Method in interface org.springframework.web.socket.client.WebSocketClient
-
Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler.
- execute(WebSocketHandler, String, Object...) - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
- execute(WebSocketHandler, WebSocketHttpHeaders, URI) - Method in class org.springframework.web.socket.client.AbstractWebSocketClient
- execute(WebSocketHandler, WebSocketHttpHeaders, URI) - Method in interface org.springframework.web.socket.client.WebSocketClient
-
Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler.
- execute(WebSocketHandler, WebSocketHttpHeaders, URI) - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
- executeInfoRequest(URI, HttpHeaders) - Method in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- executeInfoRequest(URI, HttpHeaders) - Method in interface org.springframework.web.socket.sockjs.client.InfoReceiver
-
Perform an HTTP request to the SockJS "Info" URL.
- executeInfoRequestInternal(URI, HttpHeaders) - Method in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- executeInfoRequestInternal(URI, HttpHeaders) - Method in class org.springframework.web.socket.sockjs.client.JettyXhrTransport
- executeInfoRequestInternal(URI, HttpHeaders) - Method in class org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport
- executeInternal(WebSocketHandler, HttpHeaders, URI, List, List, Map) - Method in class org.springframework.web.socket.client.AbstractWebSocketClient
-
Perform the actual handshake to establish a connection to the server.
- executeInternal(WebSocketHandler, HttpHeaders, URI, List, List, Map) - Method in class org.springframework.web.socket.client.standard.StandardWebSocketClient
- executeRequest(URI, HttpMethod, HttpHeaders, String) - Method in class org.springframework.web.socket.sockjs.client.JettyXhrTransport
- executeSendRequest(URI, HttpHeaders, TextMessage) - Method in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- executeSendRequest(URI, HttpHeaders, TextMessage) - Method in interface org.springframework.web.socket.sockjs.client.XhrTransport
-
Execute a request to send the message to the server.
- executeSendRequestInternal(URI, HttpHeaders, TextMessage) - Method in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- executeSendRequestInternal(URI, HttpHeaders, TextMessage) - Method in class org.springframework.web.socket.sockjs.client.JettyXhrTransport
- executeSendRequestInternal(URI, HttpHeaders, TextMessage) - Method in class org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport
F
- filterRequestedExtensions(ServerHttpRequest, List, List) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
Filter the list of requested WebSocket extensions.
- findProtocolHandler(WebSocketSession) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Find a
SubProtocolHandlerfor the given session. - findSubscriptions(SimpSubscriptionMatcher) - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
- flushCache() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
-
Called when the connection is active and ready to write to the response.
- flushCache() - Method in class org.springframework.web.socket.sockjs.transport.session.PollingSockJsSession
- flushCache() - Method in class org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession
- forEach(BiConsumer) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- format(SockJsFrame) - Method in class org.springframework.web.socket.sockjs.frame.DefaultSockJsFrameFormat
- format(SockJsFrame) - Method in interface org.springframework.web.socket.sockjs.frame.SockJsFrameFormat
- fromValue(String) - Static method in enum class org.springframework.web.socket.sockjs.transport.TransportType
G
- get(String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- getAcceptedProtocol() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getAcceptedProtocol() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getAcceptedProtocol() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getAcceptedProtocol() - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- getAcceptedProtocol() - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- getAcceptedProtocol() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
-
Return the selected sub-protocol to use.
- getAcceptedProtocol() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getAcceptedProtocol() - Method in interface org.springframework.web.socket.WebSocketSession
-
Return the negotiated sub-protocol.
- getAllowedOriginPatterns() - Method in class org.springframework.web.socket.server.support.OriginHandshakeInterceptor
-
Return the
configuredallowed origin patterns. - getAllowedOriginPatterns() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return
configuredorigin patterns. - getAllowedOrigins() - Method in class org.springframework.web.socket.server.support.OriginHandshakeInterceptor
-
Return the
configuredallowed origins. - getAllowedOrigins() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return the
configuredallowed origins. - getApplicationContext() - Method in class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
-
Returns the active
ApplicationContext. - getAsyncSendTimeout() - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- getAsyncSendTimeout() - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- getAttributeNames() - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
Return the configured attribute names to copy (read-only).
- getAttributes() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- getAttributes() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getAttributes() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- getAttributes() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- getAttributes() - Method in interface org.springframework.web.socket.WebSocketSession
-
Return the map with attributes associated with the WebSocket session.
- getBinaryMessageSizeLimit() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getBinaryMessageSizeLimit() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getBinaryMessageSizeLimit() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getBinaryMessageSizeLimit() - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- getBinaryMessageSizeLimit() - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- getBinaryMessageSizeLimit() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- getBinaryMessageSizeLimit() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getBinaryMessageSizeLimit() - Method in interface org.springframework.web.socket.WebSocketSession
-
Get the configured maximum size for an incoming binary message.
- getBufferSize() - Method in class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
-
Return the current buffer size (number of bytes).
- getBufferSizeLimit() - Method in class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
-
Return the configured buffer-size limit (number of bytes).
- getCallbackParam(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler
- getClientInboundExecutorStatsInfo() - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
-
Get stats about the executor processing incoming messages from WebSocket clients.
- getClientOutboundExecutorStatsInfo() - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
-
Get stats about the executor processing outgoing messages to WebSocket clients.
- getCloseStatus() - Method in class org.springframework.web.socket.messaging.SessionDisconnectEvent
-
Return the status with which the session was closed.
- getCode() - Method in class org.springframework.web.socket.CloseStatus
-
Return the status code.
- getConfigurator() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getContainer(HttpServletRequest) - Method in class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
- getContent() - Method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
-
Return the SockJS frame content (never
null). - getContentBytes() - Method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
-
Return the SockJS frame content as a byte array.
- getContentType() - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler
- getContentType() - Method in class org.springframework.web.socket.sockjs.transport.handler.EventSourceTransportHandler
- getContentType() - Method in class org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler
- getContentType() - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrPollingTransportHandler
- getContentType() - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrStreamingTransportHandler
- getConversionService() - Method in class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
-
Strategy method used to obtain the
ConversionService. - getCorsConfiguration(HttpServletRequest) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
- getCorsConfiguration(HttpServletRequest) - Method in class org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
- getDecoders() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getDecoratorFactories() - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
- getDefaultProtocolHandler() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Return the default sub-protocol handler to use.
- getDelegate() - Method in class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- getDelegate() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getDisconnectDelay() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return the amount of time in milliseconds before a client is considered disconnected.
- getEncoders() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getEndpoint() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getEndpointClass() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getEndpointInstance(Class) - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getEndpointInstance(Class) - Method in class org.springframework.web.socket.server.standard.SpringConfigurator
- getErrorHandler() - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Return the configured error handler.
- getExtensions() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getExtensions() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getExtensions() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getExtensions() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getExtensions() - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- getExtensions() - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- getExtensions() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- getExtensions() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getExtensions() - Method in interface org.springframework.web.socket.WebSocketSession
-
Determine the negotiated extensions.
- getFirst(String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Return the first header value for the given header name, if any.
- getFrameData() - Method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
-
Return data contained in a SockJS "message" and "close" frames.
- getFrameFormat(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler
- getFrameFormat(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.EventSourceTransportHandler
- getFrameFormat(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler
- getFrameFormat(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrPollingTransportHandler
- getFrameFormat(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrStreamingTransportHandler
- getHandler() - Method in class org.springframework.web.socket.handler.BeanCreatingHandlerProvider
- getHandlerInternal(HttpServletRequest) - Method in class org.springframework.web.socket.server.support.WebSocketHandlerMapping
- getHandlerMapping() - Method in class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry
- getHandlerMapping() - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
-
Return a handler mapping with the mapped ViewControllers.
- getHandlerType() - Method in class org.springframework.web.socket.handler.BeanCreatingHandlerProvider
- getHandshakeHandler() - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- getHandshakeHandler() - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
-
Return the HandshakeHandler.
- getHandshakeHandler() - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- getHandshakeHeaders() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getHandshakeHeaders() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getHandshakeHeaders() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getHandshakeHeaders() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- getHandshakeHeaders() - Method in interface org.springframework.web.socket.sockjs.client.TransportRequest
-
Return the headers to send with the connect request.
- getHandshakeHeaders() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- getHandshakeHeaders() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getHandshakeHeaders() - Method in interface org.springframework.web.socket.WebSocketSession
-
Return the headers used in the handshake request (never
null). - getHandshakeInterceptors() - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
-
Return the configured WebSocket handshake request interceptors.
- getHandshakeInterceptors() - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
-
Return the configured WebSocket handshake request interceptors.
- getHeaderInitializer() - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Return the configured header initializer.
- getHeaders() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
-
Return the default headers for the WebSocket handshake request.
- getHeaders() - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- getHeartbeatTime() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return the amount of time in milliseconds when the server has not sent any messages.
- getHeartbeatTime() - Method in interface org.springframework.web.socket.sockjs.transport.SockJsServiceConfig
-
The amount of time in milliseconds when the server has not sent any messages and after which the server should send a heartbeat frame to the client in order to keep the connection from breaking.
- getHttpClient() - Method in class org.springframework.web.socket.sockjs.client.JettyXhrTransport
- getHttpHeaderNames() - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
The configured HTTP header names to be copied from the handshake headers and also included in other HTTP requests.
- getHttpMessageCacheSize() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return the size of the HTTP message cache.
- getHttpMessageCacheSize() - Method in interface org.springframework.web.socket.sockjs.transport.SockJsServiceConfig
-
The number of server-to-client messages that a session can cache while waiting for the next HTTP polling request from the client.
- getHttpMethod() - Method in enum class org.springframework.web.socket.sockjs.transport.TransportType
- getHttpPollingSessions() - Method in interface org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.Stats
- getHttpRequestHeaders() - Method in interface org.springframework.web.socket.sockjs.client.TransportRequest
-
Return the headers to add to all other HTTP requests besides the handshake request such as XHR receive and send requests.
- getHttpServletRequest(ServerHttpRequest) - Method in class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
- getHttpServletResponse(ServerHttpResponse) - Method in class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
- getHttpStreamingSessions() - Method in interface org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.Stats
- getId() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getId() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getId() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getId() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- getId() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- getId() - Method in interface org.springframework.web.socket.WebSocketSession
-
Return a unique session identifier.
- getInboundMessageSizeLimit() - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Get the configured inbound message buffer size in bytes.
- getInfoReceiver() - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
Return the configured
InfoReceiver(nevernull). - getInfoUrl() - Method in class org.springframework.web.socket.sockjs.client.SockJsUrlInfo
- getInstalledExtensions(WebSocketContainer) - Method in class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
- getInterceptors() - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- getInterceptors() - Method in class org.springframework.web.socket.config.annotation.WebMvcStompWebSocketEndpointRegistration
- getLastHandler() - Method in class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- getLastSession() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getLimitExceededSessions() - Method in interface org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.Stats
- getLocalAddress() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getLocalAddress() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getLocalAddress() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getLocalAddress() - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- getLocalAddress() - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- getLocalAddress() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- getLocalAddress() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getLocalAddress() - Method in interface org.springframework.web.socket.WebSocketSession
-
Return the address on which the request was received.
- getLoggingPeriod() - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
-
Return the configured logging period frequency in milliseconds.
- getMappings() - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- getMappings() - Method in class org.springframework.web.socket.config.annotation.WebMvcStompWebSocketEndpointRegistration
- getMaxBinaryMessageBufferSize() - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- getMaxBinaryMessageBufferSize() - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- getMaxSessionIdleTimeout() - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- getMaxSessionIdleTimeout() - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- getMaxTextMessageBufferSize() - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- getMaxTextMessageBufferSize() - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- getMessage() - Method in class org.springframework.web.socket.messaging.AbstractSubProtocolEvent
-
Return the Message associated with the event.
- getMessageCache() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
-
Return the SockJS buffer for messages stored transparently between polling requests.
- getMessageCodec() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- getMessageCodec() - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
Return the SockJsMessageCodec to use.
- getMessageCodec() - Method in interface org.springframework.web.socket.sockjs.client.TransportRequest
-
Return the message codec to use for encoding SockJS messages.
- getMessageCodec() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- getMessageCodec() - Method in interface org.springframework.web.socket.sockjs.transport.SockJsServiceConfig
-
The codec to use for encoding and decoding SockJS messages.
- getMessageCodec() - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
- getMessageSizeLimit() - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Protected accessor for internal use.
- getMessageSizeLimit() - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Get the configured message buffer size limit in bytes.
- getMessageType() - Method in class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
-
Returns the websocket message type.
- getName() - Method in class org.springframework.web.socket.adapter.standard.WebSocketToStandardExtensionAdapter
- getName() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return the unique name associated with this service.
- getName() - Method in class org.springframework.web.socket.WebSocketExtension
-
Return the name of the extension (never
nullor empty). - getNativeSession() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- getNativeSession() - Method in interface org.springframework.web.socket.adapter.NativeWebSocketSession
-
Return the underlying native WebSocketSession.
- getNativeSession() - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- getNativeSession() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getNativeSession(Class) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- getNativeSession(Class) - Method in interface org.springframework.web.socket.adapter.NativeWebSocketSession
-
Return the underlying native WebSocketSession, if available.
- getNativeSession(Class) - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- getNativeSession(Class) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getNoMessagesReceivedSessions() - Method in interface org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.Stats
- getObject() - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- getObject() - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- getObjectType() - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- getObjectType() - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- getOrder() - Method in class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry
- getOrder() - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
- getOrder() - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
- getOrigin() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
-
Return the configured origin.
- getOutboundMessageSizeLimit() - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Get the configured outbound message buffer size in bytes.
- getOverflowStrategy() - Method in class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
-
Return the configured
ConcurrentWebSocketSessionDecorator.OverflowStrategy. - getParameters() - Method in class org.springframework.web.socket.adapter.standard.WebSocketToStandardExtensionAdapter
- getParameters() - Method in class org.springframework.web.socket.WebSocketExtension
-
Return the parameters of the extension (never
null). - getPath() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getPayload() - Method in class org.springframework.web.socket.AbstractWebSocketMessage
-
Return the message payload (never
null). - getPayload() - Method in interface org.springframework.web.socket.WebSocketMessage
-
Return the message payload (never
null). - getPayloadLength() - Method in class org.springframework.web.socket.BinaryMessage
- getPayloadLength() - Method in class org.springframework.web.socket.PingMessage
- getPayloadLength() - Method in class org.springframework.web.socket.PongMessage
- getPayloadLength() - Method in class org.springframework.web.socket.TextMessage
- getPayloadLength() - Method in interface org.springframework.web.socket.WebSocketMessage
-
Return the number of bytes contained in the message.
- getPhase() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
-
Return the phase in which this endpoint connection factory will be auto-connected and stopped.
- getPhase() - Method in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Return the
phasethat WebSocket message handling beans of typeSmartLifecycleshould run in. - getPhase() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- getPhase() - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Return the configured phase.
- getPhase() - Method in class org.springframework.web.socket.server.support.WebSocketHandlerMapping
- getPrelude(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession
-
Get the prelude to write to the response before any other data.
- getPrincipal() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getPrincipal() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getPrincipal() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getPrincipal() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- getPrincipal() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- getPrincipal() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getPrincipal() - Method in interface org.springframework.web.socket.WebSocketSession
-
Return a
Principalinstance containing the name of the authenticated user. - getProtocolHandlerMap() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Return the sub-protocols keyed by protocol name.
- getProtocolHandlers() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- getReason() - Method in class org.springframework.web.socket.CloseStatus
-
Return the reason, or
nullif none. - getRemoteAddress() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getRemoteAddress() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getRemoteAddress() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getRemoteAddress() - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- getRemoteAddress() - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- getRemoteAddress() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- getRemoteAddress() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getRemoteAddress() - Method in interface org.springframework.web.socket.WebSocketSession
-
Return the address of the remote client.
- getRequestUpgradeStrategy() - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
Return the
RequestUpgradeStrategyfor WebSocket requests. - getResponseStatus() - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
- getResponseStatus() - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrReceivingTransportHandler
- getRestTemplate() - Method in class org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport
-
Return the configured
RestTemplate. - getSecWebSocketAccept() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Returns the value of the
Sec-WebSocket-Acceptheader. - getSecWebSocketExtensions() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Returns the value of the
Sec-WebSocket-Extensionsheader. - getSecWebSocketKey() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Returns the value of the
Sec-WebSocket-Keyheader. - getSecWebSocketProtocol() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Returns the value of the
Sec-WebSocket-Protocolheader. - getSecWebSocketVersion() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Returns the value of the
Sec-WebSocket-Versionheader. - getSendBufferSizeLimit() - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Protected accessor for internal use.
- getSendBufferSizeLimit() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Return the buffer-size limit (number of bytes).
- getSendTimeLimit() - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Protected accessor for internal use.
- getSendTimeLimit() - Method in class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
-
Return the configured send-time limit (milliseconds).
- getSendTimeLimit() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Return the send-time limit (milliseconds).
- getServerContainer() - Method in class org.springframework.web.socket.server.standard.ServerEndpointExporter
-
Return the JSR-356
ServerContainerto use for endpoint registration. - getServerId() - Method in class org.springframework.web.socket.sockjs.client.SockJsUrlInfo
- getServiceConfig() - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
- getSessionId() - Method in class org.springframework.web.socket.messaging.SessionDisconnectEvent
-
Return the session id.
- getSessionId() - Method in class org.springframework.web.socket.sockjs.client.SockJsUrlInfo
- getSockJsClientLibraryUrl() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return he URL to the SockJS JavaScript client library.
- getSockJsConfig() - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
- getSockJsService() - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
- getSockJsService() - Method in class org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
-
Return the
SockJsService. - getSockJsServiceConfig() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- getSockJsServiceRegistration() - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
-
Expose the
SockJsServiceRegistration-- if SockJS is enabled ornullotherwise -- so that it can be configured with a TaskScheduler if the application did not provide one. - getSockJsSessionId() - Method in exception class org.springframework.web.socket.sockjs.SockJsException
-
Return the SockJS session id.
- getSockJsTaskSchedulerStatsInfo() - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
-
Get stats about the SockJS task scheduler.
- getSockJsUrl() - Method in class org.springframework.web.socket.sockjs.client.SockJsUrlInfo
- getSockJsUrlInfo() - Method in interface org.springframework.web.socket.sockjs.client.TransportRequest
-
Return information about the SockJS URL including server and session ID.
- getSslContext() - Method in class org.springframework.web.socket.client.standard.StandardWebSocketClient
-
Return the
SSLContextto use. - getStats() - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Return a structured object with internal state and counters.
- getStats() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Return a structured object with various session counters.
- getStatsInfo() - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Return a String describing internal state and counters.
- getStatsInfo() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Return a String describing internal state and counters.
- getStatus() - Method in exception class org.springframework.web.socket.handler.SessionLimitExceededException
- getStompBrokerRelayStats() - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
-
Get stats about STOMP broker relay (when using a full-featured STOMP broker).
- getStompSubProtocolStats() - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
-
Get stats about STOMP-related WebSocket message processing.
- getStreamBytesLimit() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return the minimum number of bytes that can be sent over a single HTTP streaming request before it will be closed.
- getStreamBytesLimit() - Method in interface org.springframework.web.socket.sockjs.transport.SockJsServiceConfig
-
Streaming transports save responses on the client side and don't free memory used by delivered messages.
- getSubprotocols() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getSubProtocols() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
-
Return the configured sub-protocols to use.
- getSubProtocols() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Return all supported protocols.
- getSubProtocols() - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
- getSubProtocols() - Method in interface org.springframework.web.socket.SubProtocolCapable
-
Return the list of supported sub-protocols.
- getSupportedExtensions(ServerHttpRequest) - Method in class org.springframework.web.socket.server.jetty.JettyRequestUpgradeStrategy
- getSupportedExtensions(ServerHttpRequest) - Method in interface org.springframework.web.socket.server.RequestUpgradeStrategy
-
Return the WebSocket protocol extensions supported by the underlying WebSocket server.
- getSupportedExtensions(ServerHttpRequest) - Method in class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
- getSupportedProtocols() - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
- getSupportedProtocols() - Method in interface org.springframework.web.socket.messaging.SubProtocolHandler
-
Return the list of sub-protocols supported by this handler (never
null). - getSupportedProtocols() - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
Return the list of supported sub-protocols.
- getSupportedVersions() - Method in class org.springframework.web.socket.server.jetty.JettyRequestUpgradeStrategy
- getSupportedVersions() - Method in interface org.springframework.web.socket.server.RequestUpgradeStrategy
-
Return the supported WebSocket protocol versions.
- getSupportedVersions() - Method in class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
- getSupportedVersions() - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- getTaskExecutor() - Method in class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
-
Return the configured
TaskExecutor. - getTaskExecutor() - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
-
Return the configured
TaskExecutor. - getTaskExecutor() - Method in class org.springframework.web.socket.client.standard.StandardWebSocketClient
-
Return the configured
AsyncTaskExecutor. - getTaskExecutor() - Method in class org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport
-
Return the configured
TaskExecutor. - getTaskScheduler() - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
Return the TaskScheduler, if configured.
- getTaskScheduler() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
A scheduler instance to use for scheduling heart-beat messages.
- getTaskScheduler() - Method in interface org.springframework.web.socket.sockjs.transport.SockJsServiceConfig
-
A scheduler instance to use for scheduling heart-beat messages.
- getTextMessageSizeLimit() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getTextMessageSizeLimit() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getTextMessageSizeLimit() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getTextMessageSizeLimit() - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- getTextMessageSizeLimit() - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- getTextMessageSizeLimit() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- getTextMessageSizeLimit() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getTextMessageSizeLimit() - Method in interface org.springframework.web.socket.WebSocketSession
-
Get the configured maximum size for an incoming text message.
- getTimeSinceLastActive() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- getTimeSinceLastActive() - Method in interface org.springframework.web.socket.sockjs.transport.SockJsSession
-
Return the time (in ms) since the session was last active, or otherwise if the session is new, then the time since the session was created.
- getTimeSinceSendStarted() - Method in class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
-
Return the time (milliseconds) since the current send started, or 0 if no send is currently in progress.
- getTimeToFirstMessage() - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Protected accessor for internal use.
- getTimeToFirstMessage() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Return the maximum time allowed after the WebSocket connection is established and before the first sub-protocol message.
- getTotalConnect() - Method in interface org.springframework.web.socket.messaging.StompSubProtocolHandler.Stats
-
The number of CONNECT frames processed.
- getTotalConnected() - Method in interface org.springframework.web.socket.messaging.StompSubProtocolHandler.Stats
-
The number of CONNECTED frames processed.
- getTotalDisconnect() - Method in interface org.springframework.web.socket.messaging.StompSubProtocolHandler.Stats
-
The number of DISCONNECT frames processed.
- getTotalSessions() - Method in interface org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.Stats
- getTransportErrorSessions() - Method in interface org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.Stats
- getTransportHandlers() - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
-
Return the registered handlers per transport type.
- getTransportRegistration() - Method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- getTransportType() - Method in class org.springframework.web.socket.sockjs.transport.handler.EventSourceTransportHandler
- getTransportType() - Method in class org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler
- getTransportType() - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- getTransportType() - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrPollingTransportHandler
- getTransportType() - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrReceivingTransportHandler
- getTransportType() - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrStreamingTransportHandler
- getTransportType() - Method in interface org.springframework.web.socket.sockjs.transport.TransportHandler
-
Return the transport type supported by this handler.
- getTransportTypes() - Method in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- getTransportTypes() - Method in interface org.springframework.web.socket.sockjs.client.Transport
-
Get the SockJS transport types that this transport can be used for.
- getTransportTypes() - Method in class org.springframework.web.socket.sockjs.client.WebSocketTransport
- getTransportUrl() - Method in interface org.springframework.web.socket.sockjs.client.TransportRequest
-
Return the transport URL for the given transport.
- getTransportUrl(TransportType) - Method in class org.springframework.web.socket.sockjs.client.SockJsUrlInfo
- getType() - Method in class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
-
Returns the type being converted.
- getType() - Method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
-
Return the SockJS frame type.
- getUndeliveredMessages() - Method in exception class org.springframework.web.socket.sockjs.SockJsMessageDeliveryException
- getUri() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- getUri() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- getUri() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
- getUri() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- getUri() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- getUri() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- getUri() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- getUri() - Method in interface org.springframework.web.socket.WebSocketSession
-
Return the URI used to open the WebSocket connection.
- getUrlPathHelper() - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getUser() - Method in class org.springframework.web.socket.messaging.AbstractSubProtocolEvent
-
Return the user for the session associated with the event.
- getUser() - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
Return the user to associate with the SockJS session and make available via
WebSocketSession.getPrincipal(). - getUser() - Method in interface org.springframework.web.socket.sockjs.client.TransportRequest
-
Return the user associated with the request, if any.
- getUser(String) - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
- getUserCount() - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
- getUserProperties() - Method in class org.springframework.web.socket.client.standard.StandardWebSocketClient
-
Return the configured user properties.
- getUserProperties() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- getUsers() - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
- getUuid() - Method in class org.springframework.web.socket.sockjs.client.SockJsUrlInfo
- getWebSocketClient() - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Return the configured WebSocketClient.
- getWebSocketClient() - Method in class org.springframework.web.socket.sockjs.client.WebSocketTransport
-
Return the configured
WebSocketClient. - getWebSocketContainer() - Method in class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
- getWebSocketContainer() - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- getWebSocketHandler() - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
-
Return the WebSocketHandler.
- getWebSocketHandler() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- getWebSocketHandler() - Method in class org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
-
Return the
WebSocketHandler. - getWebSocketSessions() - Method in interface org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.Stats
- getWebSocketSessionStats() - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
-
Get stats about WebSocket sessions.
- GOING_AWAY - Static variable in class org.springframework.web.socket.CloseStatus
-
"1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page."
H
- handleBinaryMessage(WebSocketSession, BinaryMessage) - Method in class org.springframework.web.socket.handler.AbstractWebSocketHandler
- handleBinaryMessage(WebSocketSession, BinaryMessage) - Method in class org.springframework.web.socket.handler.TextWebSocketHandler
- handleClientMessageProcessingError(Message, Throwable) - Method in class org.springframework.web.socket.messaging.StompSubProtocolErrorHandler
- handleClientMessageProcessingError(Message, Throwable) - Method in interface org.springframework.web.socket.messaging.SubProtocolErrorHandler
-
Handle errors thrown while processing client messages providing an opportunity to prepare the error message or to prevent one from being sent.
- handleErrorMessageToClient(Message) - Method in class org.springframework.web.socket.messaging.StompSubProtocolErrorHandler
- handleErrorMessageToClient(Message) - Method in interface org.springframework.web.socket.messaging.SubProtocolErrorHandler
-
Handle errors sent from the server side to clients, for example, errors from the
"broke relay"because connectivity failed or the external broker sent an error message, etc. - handleFrame(String) - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- handleInitialRequest(ServerHttpRequest, ServerHttpResponse, SockJsFrameFormat) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
-
Handle the first request for receiving messages on a SockJS HTTP transport based session.
- handleInternal(StompHeaderAccessor, byte[], Throwable, StompHeaderAccessor) - Method in class org.springframework.web.socket.messaging.StompSubProtocolErrorHandler
- handleInvalidConnectHeader(ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- handleInvalidUpgradeHeader(ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- handleMessage(Message) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Handle an outbound Spring Message to a WebSocket client.
- handleMessage(TextMessage, WebSocketSession) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- handleMessage(WebSocketSession, WebSocketMessage) - Method in class org.springframework.web.socket.handler.AbstractWebSocketHandler
- handleMessage(WebSocketSession, WebSocketMessage) - Method in class org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator
- handleMessage(WebSocketSession, WebSocketMessage) - Method in class org.springframework.web.socket.handler.LoggingWebSocketHandlerDecorator
- handleMessage(WebSocketSession, WebSocketMessage) - Method in class org.springframework.web.socket.handler.PerConnectionWebSocketHandler
- handleMessage(WebSocketSession, WebSocketMessage) - Method in class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- handleMessage(WebSocketSession, WebSocketMessage) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Handle an inbound message from a WebSocket client.
- handleMessage(WebSocketSession, WebSocketMessage) - Method in interface org.springframework.web.socket.WebSocketHandler
-
Invoked when a new WebSocket message arrives.
- handleMessageFromClient(WebSocketSession, WebSocketMessage, MessageChannel) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Handle incoming WebSocket messages from clients.
- handleMessageFromClient(WebSocketSession, WebSocketMessage, MessageChannel) - Method in interface org.springframework.web.socket.messaging.SubProtocolHandler
-
Handle the given
WebSocketMessagereceived from a client. - handleMessageToClient(WebSocketSession, Message) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Handle STOMP messages going back out to WebSocket clients.
- handleMessageToClient(WebSocketSession, Message) - Method in interface org.springframework.web.socket.messaging.SubProtocolHandler
-
Handle the given
Messageto the client associated with the given WebSocket session. - handlePongMessage(WebSocketSession, PongMessage) - Method in class org.springframework.web.socket.handler.AbstractWebSocketHandler
- handleRawWebSocketRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Handle request for raw WebSocket communication, i.e.
- handleRawWebSocketRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler) - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
- handleRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
- handleRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
- handleRequest(ServerHttpRequest, ServerHttpResponse, String, WebSocketHandler) - Method in interface org.springframework.web.socket.sockjs.SockJsService
-
Process a SockJS HTTP request.
- handleRequest(ServerHttpRequest, ServerHttpResponse, String, WebSocketHandler) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
This method determines the SockJS path and handles SockJS static URLs.
- handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, SockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
- handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, SockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler
- handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, SockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, SockJsSession) - Method in interface org.springframework.web.socket.sockjs.transport.TransportHandler
-
Handle the given request and delegate messages to the provided
WebSocketHandler. - handleRequestInternal(ServerHttpRequest, ServerHttpResponse, boolean) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
-
Invoked when a SockJS transport request is received.
- handleRequestInternal(ServerHttpRequest, ServerHttpResponse, boolean) - Method in class org.springframework.web.socket.sockjs.transport.session.PollingSockJsSession
- handleRequestInternal(ServerHttpRequest, ServerHttpResponse, boolean) - Method in class org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession
- handleRequestInternal(ServerHttpRequest, ServerHttpResponse, AbstractHttpSockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler
- handleRequestInternal(ServerHttpRequest, ServerHttpResponse, AbstractHttpSockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler
- handleRequestInternal(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, AbstractHttpSockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
- handleSuccessiveRequest(ServerHttpRequest, ServerHttpResponse, SockJsFrameFormat) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
-
Handle all requests, except the first one, to receive messages on a SockJS HTTP transport based session.
- handleTextMessage(WebSocketSession, TextMessage) - Method in class org.springframework.web.socket.handler.AbstractWebSocketHandler
- handleTextMessage(WebSocketSession, TextMessage) - Method in class org.springframework.web.socket.handler.BinaryWebSocketHandler
- handleTextMessage(WebSocketSession, TextMessage) - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
- handleTransportError(Throwable) - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.handler.AbstractWebSocketHandler
- handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator
- handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.handler.LoggingWebSocketHandlerDecorator
- handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.handler.PerConnectionWebSocketHandler
- handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
- handleTransportError(WebSocketSession, Throwable) - Method in interface org.springframework.web.socket.WebSocketHandler
-
Handle an error from the underlying WebSocket message transport.
- handleTransportRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, String, String) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Handle a SockJS session URL (i.e.
- handleTransportRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, String, String) - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
- handleWebSocketVersionNotSupported(ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- HandshakeFailureException - Exception Class in org.springframework.web.socket.server
-
Thrown when handshake processing failed to complete due to an internal, unrecoverable error.
- HandshakeFailureException(String) - Constructor for exception class org.springframework.web.socket.server.HandshakeFailureException
- HandshakeFailureException(String, Throwable) - Constructor for exception class org.springframework.web.socket.server.HandshakeFailureException
- HandshakeHandler - Interface in org.springframework.web.socket.server
-
Contract for processing a WebSocket handshake request.
- HandshakeInterceptor - Interface in org.springframework.web.socket.server
-
Interceptor for WebSocket handshake requests.
- HandshakeInterceptorChain - Class in org.springframework.web.socket.server.support
-
A helper class that assists with invoking a list of handshake interceptors.
- HandshakeInterceptorChain(List, WebSocketHandler) - Constructor for class org.springframework.web.socket.server.support.HandshakeInterceptorChain
- hashCode() - Method in class org.springframework.web.socket.AbstractWebSocketMessage
- hashCode() - Method in class org.springframework.web.socket.CloseStatus
- hashCode() - Method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- hashCode() - Method in class org.springframework.web.socket.WebSocketExtension
- hashCode() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- headerNames() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- headerSet() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- HEARTBEAT - Enum constant in enum class org.springframework.web.socket.sockjs.frame.SockJsFrameType
- heartbeatFrame() - Static method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- HTML_FILE - Enum constant in enum class org.springframework.web.socket.sockjs.transport.TransportType
- HtmlFileTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
An HTTP
TransportHandlerthat uses a famous browserdocument.domaintechnique. - HtmlFileTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler
- HTTP_SESSION_ID_ATTR_NAME - Static variable in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
The name of the attribute under which the HTTP session id is exposed when
copyHttpSessionIdis "true". - HttpSessionHandshakeInterceptor - Class in org.springframework.web.socket.server.support
-
An interceptor to copy information from the HTTP session to the "handshake attributes" map to be made available via
WebSocketSession.getAttributes(). - HttpSessionHandshakeInterceptor() - Constructor for class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
Default constructor for copying all HTTP session attributes and the HTTP session id.
- HttpSessionHandshakeInterceptor(Collection) - Constructor for class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
Constructor for copying specific HTTP session attributes and the HTTP session id.
I
- idGenerator - Static variable in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- InfoReceiver - Interface in org.springframework.web.socket.sockjs.client
-
A component that can execute the SockJS "Info" request that needs to be performed before the SockJS session starts in order to check server endpoint capabilities such as whether the endpoint permits use of WebSocket.
- init() - Method in class org.springframework.web.socket.config.WebSocketNamespaceHandler
- init(EndpointConfig) - Method in class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
-
Called to initialize the encoder/decoder.
- initialize(SockJsServiceConfig) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
- initialize(SockJsServiceConfig) - Method in interface org.springframework.web.socket.sockjs.transport.TransportHandler
-
Initialize this handler with the given configuration.
- initializeDelegateSession(WebSocketSession) - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- initializeDelegateSession(WebSocketSession) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- initializeNativeSession(Session) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- initializeNativeSession(Session) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- initializeNativeSession(T) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- initPhase() - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- initServletContext(ServletContext) - Method in class org.springframework.web.socket.server.standard.ServerEndpointExporter
- initServletContext(ServletContext) - Method in class org.springframework.web.socket.server.support.WebSocketHandlerMapping
- isActive() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- isActive() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
Polling and Streaming sessions periodically close the current HTTP request and wait for the next request to come through.
- isActive() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- isAutoStartup() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
-
Return the value for the 'autoStartup' property.
- isAutoStartup() - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Return the value for the 'autoStartup' property.
- isClosed() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- isConnected() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
-
Whether the connection is open/
trueor closed/false. - isConnected() - Method in class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
- isConnected() - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- isConnected() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
- isContextRequired() - Method in class org.springframework.web.socket.server.standard.ServerEndpointExporter
- isCopyAllAttributes() - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
Whether to copy all HTTP session attributes.
- isCopyHttpSessionId() - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
Whether to copy the HTTP session id to the handshake attributes.
- isCreateSession() - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
Whether the HTTP session is allowed to be created.
- isDisconnected() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- isEmpty() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- isLast() - Method in class org.springframework.web.socket.AbstractWebSocketMessage
-
Whether this is the last part of a message sent as a series of partial messages.
- isLast() - Method in interface org.springframework.web.socket.WebSocketMessage
-
When partial message support is available and requested via
WebSocketHandler.supportsPartialMessages(), this method returnstrueif the current message is the last part of the complete WebSocket message sent by the client. - isNew() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- isOpen() - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- isOpen() - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- isOpen() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- isOpen() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- isOpen() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- isOpen() - Method in interface org.springframework.web.socket.WebSocketSession
-
Whether the underlying connection is open.
- isPreserveReceiveOrder() - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
- isPreserveReceiveOrder() - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Whether the handler is configured to handle inbound messages in the order in which they were received.
- isRunning() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
-
Return whether this ConnectionManager has been started.
- isRunning() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- isRunning() - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
- isRunning() - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- isRunning() - Method in class org.springframework.web.socket.server.support.WebSocketHandlerMapping
- isRunning() - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
- isRunning() - Method in class org.springframework.web.socket.sockjs.client.JettyXhrTransport
- isRunning() - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
- isRunning() - Method in class org.springframework.web.socket.sockjs.client.WebSocketTransport
- isRunning() - Method in class org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
- isRunning() - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- isRunning() - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
- isSessionCookieNeeded() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return whether the JSESSIONID cookie is required for the application to function.
- isSingleton() - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- isSingleton() - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- isValidOrigin(ServerHttpRequest) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
Return whether the request
Originheader value is valid or not. - isWebSocketEnabled() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return whether WebSocket transport is enabled.
- isWebSocketVersionSupported(WebSocketHttpHeaders) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- isXhrStreamingDisabled() - Method in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
-
Whether XHR streaming is disabled or not.
- isXhrStreamingDisabled() - Method in interface org.springframework.web.socket.sockjs.client.XhrTransport
-
An
XhrTransportsupports both the "xhr_streaming" and "xhr" SockJS server transports.
J
- Jackson2SockJsMessageCodec - Class in org.springframework.web.socket.sockjs.frame
-
Deprecated, for removal: This API element is subject to removal in a future version.
- Jackson2SockJsMessageCodec() - Constructor for class org.springframework.web.socket.sockjs.frame.Jackson2SockJsMessageCodec
-
Deprecated.
- Jackson2SockJsMessageCodec(ObjectMapper) - Constructor for class org.springframework.web.socket.sockjs.frame.Jackson2SockJsMessageCodec
-
Deprecated.
- JacksonJsonSockJsMessageCodec - Class in org.springframework.web.socket.sockjs.frame
-
A Jackson 3.x codec for encoding and decoding SockJS messages.
- JacksonJsonSockJsMessageCodec() - Constructor for class org.springframework.web.socket.sockjs.frame.JacksonJsonSockJsMessageCodec
-
Construct a new instance with a
JsonMappercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader). - JacksonJsonSockJsMessageCodec(JsonMapper) - Constructor for class org.springframework.web.socket.sockjs.frame.JacksonJsonSockJsMessageCodec
-
Construct a new instance with the provided
JsonMapper. - JacksonJsonSockJsMessageCodec(JsonMapper.Builder) - Constructor for class org.springframework.web.socket.sockjs.frame.JacksonJsonSockJsMessageCodec
-
Construct a new instance with the provided
JsonMapper.Buildercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader). - JettyRequestUpgradeStrategy - Class in org.springframework.web.socket.server.jetty
-
A
RequestUpgradeStrategyfor Jetty 12 EE11. - JettyRequestUpgradeStrategy() - Constructor for class org.springframework.web.socket.server.jetty.JettyRequestUpgradeStrategy
- JettyWebSocketHandlerAdapter - Class in org.springframework.web.socket.adapter.jetty
-
Adapts
WebSocketHandlerto the Jetty WebSocket APISession.Listener. - JettyWebSocketHandlerAdapter(WebSocketHandler, JettyWebSocketSession) - Constructor for class org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter
- JettyWebSocketSession - Class in org.springframework.web.socket.adapter.jetty
-
A
WebSocketSessionfor use with the Jetty WebSocket API. - JettyWebSocketSession(Map) - Constructor for class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
-
Create a new
JettyWebSocketSessioninstance. - JettyWebSocketSession(Map, Principal) - Constructor for class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
-
Create a new
JettyWebSocketSessioninstance associated with the given user. - JettyXhrTransport - Class in org.springframework.web.socket.sockjs.client
-
An XHR transport based on Jetty's
HttpClient. - JettyXhrTransport(HttpClient) - Constructor for class org.springframework.web.socket.sockjs.client.JettyXhrTransport
L
- logger - Static variable in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- logger - Variable in class org.springframework.web.socket.client.AbstractWebSocketClient
- logger - Variable in class org.springframework.web.socket.client.ConnectionManagerSupport
- logger - Variable in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- logger - Variable in class org.springframework.web.socket.server.support.OriginHandshakeInterceptor
- logger - Variable in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- logger - Variable in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- logger - Variable in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
- logger - Variable in class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
- logger - Variable in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- LoggingWebSocketHandlerDecorator - Class in org.springframework.web.socket.handler
-
A
WebSocketHandlerDecoratorthat adds logging to WebSocket lifecycle events. - LoggingWebSocketHandlerDecorator(WebSocketHandler) - Constructor for class org.springframework.web.socket.handler.LoggingWebSocketHandlerDecorator
M
- MESSAGE - Enum constant in enum class org.springframework.web.socket.sockjs.frame.SockJsFrameType
- messageFrame(SockJsMessageCodec, String...) - Static method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- MINIMUM_WEBSOCKET_MESSAGE_SIZE - Static variable in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
This handler supports assembling large STOMP messages split into multiple WebSocket messages and STOMP clients (like stomp.js) indeed split large STOMP messages at 16K boundaries.
- modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
N
- NativeWebSocketSession - Interface in org.springframework.web.socket.adapter
-
A
WebSocketSessionthat exposes the underlying, native WebSocketSession through a getter. - NO_CLOSE_FRAME - Static variable in class org.springframework.web.socket.CloseStatus
-
"1006 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
- NO_STATUS_CODE - Static variable in class org.springframework.web.socket.CloseStatus
-
"1005 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
- NORMAL - Static variable in class org.springframework.web.socket.CloseStatus
-
"1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled."
- NOT_ACCEPTABLE - Static variable in class org.springframework.web.socket.CloseStatus
-
"1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (for example, an endpoint that understands only text data MAY send this if it receives a binary message)."
O
- onApplicationEvent(ApplicationEvent) - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
- onClose(Session, CloseReason) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter
- onError(Session, Throwable) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter
- onOpen(Session, EndpointConfig) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter
- onWebSocketBinary(ByteBuffer, Callback) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter
- onWebSocketClose(int, String, Callback) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter
- onWebSocketError(Throwable) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter
- onWebSocketOpen(Session) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter
- onWebSocketPong(ByteBuffer) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter
- onWebSocketText(String) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter
- OPEN - Enum constant in enum class org.springframework.web.socket.sockjs.frame.SockJsFrameType
- openConnection() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
-
Subclasses implement this to actually establish the connection.
- openConnection() - Method in class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
- openConnection() - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- openConnection() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
- openFrame() - Static method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- org.springframework.web.socket - package org.springframework.web.socket
-
Common abstractions and Spring configuration support for WebSocket applications.
- org.springframework.web.socket.adapter - package org.springframework.web.socket.adapter
-
Classes adapting Spring's WebSocket API to and from WebSocket providers.
- org.springframework.web.socket.adapter.jetty - package org.springframework.web.socket.adapter.jetty
-
Adapter classes for the Jetty WebSocket API.
- org.springframework.web.socket.adapter.standard - package org.springframework.web.socket.adapter.standard
-
Adapter classes for the standard Jakarta WebSocket API.
- org.springframework.web.socket.client - package org.springframework.web.socket.client
-
Client-side abstractions for WebSocket applications.
- org.springframework.web.socket.client.standard - package org.springframework.web.socket.client.standard
-
Client-side classes for use with standard Jakarta WebSocket endpoints.
- org.springframework.web.socket.config - package org.springframework.web.socket.config
-
Configuration support for WebSocket request handling.
- org.springframework.web.socket.config.annotation - package org.springframework.web.socket.config.annotation
-
Support for annotation-based WebSocket setup in configuration classes.
- org.springframework.web.socket.handler - package org.springframework.web.socket.handler
-
Convenient
WebSocketHandlerimplementations and decorators. - org.springframework.web.socket.messaging - package org.springframework.web.socket.messaging
-
WebSocket integration for Spring's messaging module.
- org.springframework.web.socket.server - package org.springframework.web.socket.server
-
Server-side abstractions for WebSocket interactions.
- org.springframework.web.socket.server.jetty - package org.springframework.web.socket.server.jetty
-
Server-side support for the Jetty WebSocket API.
- org.springframework.web.socket.server.standard - package org.springframework.web.socket.server.standard
-
Server-side classes for use with standard JSR-356 WebSocket endpoints.
- org.springframework.web.socket.server.support - package org.springframework.web.socket.server.support
-
Server-side support classes including container-specific strategies for upgrading a request.
- org.springframework.web.socket.sockjs - package org.springframework.web.socket.sockjs
-
Top-level SockJS types.
- org.springframework.web.socket.sockjs.client - package org.springframework.web.socket.sockjs.client
-
SockJS client implementation of
WebSocketClient. - org.springframework.web.socket.sockjs.frame - package 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.support - package org.springframework.web.socket.sockjs.support
-
Support classes for SockJS including an
AbstractSockJsServiceimplementation. - org.springframework.web.socket.sockjs.transport - package org.springframework.web.socket.sockjs.transport
-
Server-side support for SockJS transports including
TransportHandlerimplementations for processing incoming requests, theirsessioncounterparts for sending messages over the various transports, andDefaultSockJsService. - org.springframework.web.socket.sockjs.transport.handler - package org.springframework.web.socket.sockjs.transport.handler
-
TransportHandlerimplementation classes as well as a concreteSockJsService. - org.springframework.web.socket.sockjs.transport.session - package org.springframework.web.socket.sockjs.transport.session
-
SockJS specific implementations of
WebSocketSession. - OriginHandshakeInterceptor - Class in org.springframework.web.socket.server.support
-
An interceptor to check request
Originheader value against a collection of allowed origins. - OriginHandshakeInterceptor() - Constructor for class org.springframework.web.socket.server.support.OriginHandshakeInterceptor
-
Default constructor with only same origin requests allowed.
- OriginHandshakeInterceptor(Collection) - Constructor for class org.springframework.web.socket.server.support.OriginHandshakeInterceptor
-
Constructor using the specified allowed origin values.
P
- parseExtensions(String) - Static method in class org.springframework.web.socket.WebSocketExtension
-
Parse the given, comma-separated string into a list of
WebSocketExtensionobjects. - PerConnectionWebSocketHandler - Class in org.springframework.web.socket.handler
-
A
WebSocketHandlerthat initializes and destroys aWebSocketHandlerinstance for each WebSocket connection and delegates all other methods to it. - PerConnectionWebSocketHandler(Class) - Constructor for class org.springframework.web.socket.handler.PerConnectionWebSocketHandler
- PerConnectionWebSocketHandler(Class, boolean) - Constructor for class org.springframework.web.socket.handler.PerConnectionWebSocketHandler
- PingMessage - Class in org.springframework.web.socket
-
A WebSocket ping message.
- PingMessage() - Constructor for class org.springframework.web.socket.PingMessage
-
Create a new ping message with an empty payload.
- PingMessage(ByteBuffer) - Constructor for class org.springframework.web.socket.PingMessage
-
Create a new ping message with the given ByteBuffer payload.
- POLICY_VIOLATION - Static variable in class org.springframework.web.socket.CloseStatus
-
"1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy.
- PollingSockJsSession - Class in org.springframework.web.socket.sockjs.transport.session
-
A SockJS session for use with polling HTTP transports.
- PollingSockJsSession(String, SockJsServiceConfig, WebSocketHandler, Map) - Constructor for class org.springframework.web.socket.sockjs.transport.session.PollingSockJsSession
- PongMessage - Class in org.springframework.web.socket
-
A WebSocket pong message.
- PongMessage() - Constructor for class org.springframework.web.socket.PongMessage
-
Create a new pong message with an empty payload.
- PongMessage(ByteBuffer) - Constructor for class org.springframework.web.socket.PongMessage
-
Create a new pong message with the given ByteBuffer payload.
- PRELUDE - Static variable in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
- preProcessContent(String) - Method in class org.springframework.web.socket.sockjs.frame.DefaultSockJsFrameFormat
- processConnectHeaders(StompHeaders) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
- PROTOCOL_ERROR - Static variable in class org.springframework.web.socket.CloseStatus
-
"1002 indicates that an endpoint is terminating the connection due to a protocol error."
- proxyMode() - Element in annotation interface org.springframework.web.socket.config.annotation.WebSocketScope
-
Alias for
Scope.proxyMode(). - put(String, List) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- putAll(Map) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- putAll(HttpHeaders) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- putIfAbsent(String, List) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
R
- readMessages(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
- readMessages(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrReceivingTransportHandler
- registerEndpoints() - Method in class org.springframework.web.socket.server.standard.ServerEndpointExporter
-
Actually register the endpoints.
- registerStompEndpoints(StompEndpointRegistry) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- registerStompEndpoints(StompEndpointRegistry) - Method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- registerStompEndpoints(StompEndpointRegistry) - Method in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Register STOMP endpoints mapping each to a specific URL and (optionally) enabling and configuring SockJS fallback options.
- registerWebSocketHandlers(WebSocketHandlerRegistry) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketConfiguration
- registerWebSocketHandlers(WebSocketHandlerRegistry) - Method in class org.springframework.web.socket.config.annotation.WebSocketConfigurationSupport
- registerWebSocketHandlers(WebSocketHandlerRegistry) - Method in interface org.springframework.web.socket.config.annotation.WebSocketConfigurer
-
Register
WebSocketHandlersincluding SockJS fallback options if desired. - remove(String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- RequestUpgradeStrategy - Interface in org.springframework.web.socket.server
-
A server-specific strategy for performing the actual upgrade to a WebSocket exchange.
- REQUIRED_EXTENSION - Static variable in class org.springframework.web.socket.CloseStatus
-
"1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake.
- requiresTaskScheduler() - Method in class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry
-
Whether there are any endpoint SockJS registrations without a TaskScheduler.
- resetRequest() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- resolveSessionId(Message) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
- resolveSessionId(Message) - Method in interface org.springframework.web.socket.messaging.SubProtocolHandler
-
Resolve the session id from the given message or return
null. - responseLock - Variable in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- RestTemplateXhrTransport - Class in org.springframework.web.socket.sockjs.client
-
An
XhrTransportimplementation that uses aRestTemplate. - RestTemplateXhrTransport() - Constructor for class org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport
- RestTemplateXhrTransport(RestOperations) - Constructor for class org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport
S
- scheduleHeartbeat() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- SCOPE_WEBSOCKET - Static variable in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
-
Scope identifier for WebSocket scope: "websocket".
- SEC_WEBSOCKET_ACCEPT - Static variable in class org.springframework.web.socket.WebSocketHttpHeaders
- SEC_WEBSOCKET_EXTENSIONS - Static variable in class org.springframework.web.socket.WebSocketHttpHeaders
- SEC_WEBSOCKET_KEY - Static variable in class org.springframework.web.socket.WebSocketHttpHeaders
- SEC_WEBSOCKET_PROTOCOL - Static variable in class org.springframework.web.socket.WebSocketHttpHeaders
- SEC_WEBSOCKET_VERSION - Static variable in class org.springframework.web.socket.WebSocketHttpHeaders
- selectProtocol(List, WebSocketHandler) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
Perform the sub-protocol negotiation based on requested and supported sub-protocols.
- sendBinaryMessage(BinaryMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- sendBinaryMessage(BinaryMessage) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- sendBinaryMessage(BinaryMessage) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- sendHeartbeat() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- sendInternal(TextMessage) - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- sendInternal(TextMessage) - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- sendInternal(TextMessage) - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- sendMessage(WebSocketMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- sendMessage(WebSocketMessage) - Method in class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
- sendMessage(WebSocketMessage) - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- sendMessage(WebSocketMessage) - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- sendMessage(WebSocketMessage) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- sendMessage(WebSocketMessage) - Method in interface org.springframework.web.socket.WebSocketSession
-
Send a WebSocket message: either
TextMessageorBinaryMessage. - sendMessageInternal(String) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- sendMessageInternal(String) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- sendMessageInternal(String) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- sendMethodNotAllowed(ServerHttpResponse, HttpMethod...) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
- sendPingMessage(PingMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- sendPingMessage(PingMessage) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- sendPingMessage(PingMessage) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- sendPongMessage(PongMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- sendPongMessage(PongMessage) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- sendPongMessage(PongMessage) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- sendsNoCacheInstruction() - Method in enum class org.springframework.web.socket.sockjs.transport.TransportType
- sendsSessionCookie() - Method in enum class org.springframework.web.socket.sockjs.transport.TransportType
- sendTextMessage(TextMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- sendTextMessage(TextMessage) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- sendTextMessage(TextMessage) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- SERVER_ERROR - Static variable in class org.springframework.web.socket.CloseStatus
-
"1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request."
- ServerEndpointExporter - Class in org.springframework.web.socket.server.standard
-
Detects beans of type
ServerEndpointConfigand registers with the standard Jakarta WebSocket runtime. - ServerEndpointExporter() - Constructor for class org.springframework.web.socket.server.standard.ServerEndpointExporter
- ServerEndpointRegistration - Class in org.springframework.web.socket.server.standard
-
An implementation of
ServerEndpointConfigfor use in Spring-based applications. - ServerEndpointRegistration(String, Endpoint) - Constructor for class org.springframework.web.socket.server.standard.ServerEndpointRegistration
-
Create a new
ServerEndpointRegistrationinstance from anjakarta.websocket.Endpointinstance. - ServerEndpointRegistration(String, Class) - Constructor for class org.springframework.web.socket.server.standard.ServerEndpointRegistration
-
Create a new
ServerEndpointRegistrationinstance from anjakarta.websocket.Endpointclass. - SERVICE_OVERLOAD - Static variable in class org.springframework.web.socket.CloseStatus
-
"1013 indicates that the service is experiencing overload.
- SERVICE_RESTARTED - Static variable in class org.springframework.web.socket.CloseStatus
-
"1012 indicates that the service is restarted.
- ServletServerContainerFactoryBean - Class in org.springframework.web.socket.server.standard
-
A
FactoryBeanfor configuringServerContainer. - ServletServerContainerFactoryBean() - Constructor for class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- ServletWebSocketHandlerRegistration - Class in org.springframework.web.socket.config.annotation
-
A helper class for configuring
WebSocketHandlerrequest handling including SockJS fallback options. - ServletWebSocketHandlerRegistration() - Constructor for class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistration
- ServletWebSocketHandlerRegistry - Class in org.springframework.web.socket.config.annotation
-
WebSocketHandlerRegistrywith Spring MVC handler mappings for the handshake requests. - ServletWebSocketHandlerRegistry() - Constructor for class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry
- SESSION_NOT_RELIABLE - Static variable in class org.springframework.web.socket.CloseStatus
-
A status code for use within the framework that indicates a session has become unreliable (for example, timed out while sending a message) and extra care should be exercised, for example, avoid sending any further data to the client that may be done during normal shutdown.
- SessionConnectedEvent - Class in org.springframework.web.socket.messaging
-
A connected event represents the server response to a client's connect request.
- SessionConnectedEvent(Object, Message) - Constructor for class org.springframework.web.socket.messaging.SessionConnectedEvent
-
Create a new SessionConnectedEvent.
- SessionConnectedEvent(Object, Message, Principal) - Constructor for class org.springframework.web.socket.messaging.SessionConnectedEvent
- SessionConnectEvent - Class in org.springframework.web.socket.messaging
-
Event raised when a new WebSocket client using a Simple Messaging Protocol (for example, STOMP) as the WebSocket sub-protocol issues a connect request.
- SessionConnectEvent(Object, Message) - Constructor for class org.springframework.web.socket.messaging.SessionConnectEvent
-
Create a new SessionConnectEvent.
- SessionConnectEvent(Object, Message, Principal) - Constructor for class org.springframework.web.socket.messaging.SessionConnectEvent
- SessionDisconnectEvent - Class in org.springframework.web.socket.messaging
-
Event raised when the session of a WebSocket client using a Simple Messaging Protocol (for example, STOMP) as the WebSocket sub-protocol is closed.
- SessionDisconnectEvent(Object, Message, String, CloseStatus) - Constructor for class org.springframework.web.socket.messaging.SessionDisconnectEvent
-
Create a new SessionDisconnectEvent.
- SessionDisconnectEvent(Object, Message, String, CloseStatus, Principal) - Constructor for class org.springframework.web.socket.messaging.SessionDisconnectEvent
-
Create a new SessionDisconnectEvent.
- SessionLimitExceededException - Exception Class in org.springframework.web.socket.handler
-
Raised when a WebSocket session has exceeded limits it has been configured for, for example, timeout, buffer size, etc.
- SessionLimitExceededException(String, CloseStatus) - Constructor for exception class org.springframework.web.socket.handler.SessionLimitExceededException
- SessionSubscribeEvent - Class in org.springframework.web.socket.messaging
-
Event raised when a new WebSocket client using a Simple Messaging Protocol (for example, STOMP) sends a subscription request.
- SessionSubscribeEvent(Object, Message) - Constructor for class org.springframework.web.socket.messaging.SessionSubscribeEvent
- SessionSubscribeEvent(Object, Message, Principal) - Constructor for class org.springframework.web.socket.messaging.SessionSubscribeEvent
- SessionUnsubscribeEvent - Class in org.springframework.web.socket.messaging
-
Event raised when a new WebSocket client using a Simple Messaging Protocol (for example, STOMP) sends a request to remove a subscription.
- SessionUnsubscribeEvent(Object, Message) - Constructor for class org.springframework.web.socket.messaging.SessionUnsubscribeEvent
- SessionUnsubscribeEvent(Object, Message, Principal) - Constructor for class org.springframework.web.socket.messaging.SessionUnsubscribeEvent
- set(String, String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Set the given, single header value under the given name.
- setAcceptedProtocol(String) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
-
Unlike WebSocket where sub-protocol negotiation is part of the initial handshake, in HTTP transports the same negotiation must be emulated and the selected protocol set through this setter.
- setAll(Map) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- setAllowedOriginPatterns(String...) - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- setAllowedOriginPatterns(String...) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
Configure allowed
Originpattern header values. - setAllowedOriginPatterns(String...) - Method in interface org.springframework.web.socket.config.annotation.StompWebSocketEndpointRegistration
-
Alternative to
StompWebSocketEndpointRegistration.setAllowedOrigins(String...)that supports more flexible patterns for specifying the origins for which cross-origin requests are allowed from a browser. - setAllowedOriginPatterns(String...) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompWebSocketEndpointRegistration
- setAllowedOriginPatterns(String...) - Method in interface org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration
-
Alternative to
WebSocketHandlerRegistration.setAllowedOrigins(String...)that supports more flexible patterns for specifying the origins for which cross-origin requests are allowed from a browser. - setAllowedOriginPatterns(Collection) - Method in class org.springframework.web.socket.server.support.OriginHandshakeInterceptor
-
Alternative to
OriginHandshakeInterceptor.setAllowedOrigins(Collection)that supports more flexible patterns for specifying the origins for which cross-origin requests are allowed from a browser. - setAllowedOriginPatterns(Collection) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Alternative to
AbstractSockJsService.setAllowedOrigins(Collection)that supports more flexible patterns for specifying the origins for which cross-origin requests are allowed from a browser. - setAllowedOrigins(String...) - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- setAllowedOrigins(String...) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
Configure allowed
Originheader values. - setAllowedOrigins(String...) - Method in interface org.springframework.web.socket.config.annotation.StompWebSocketEndpointRegistration
-
Set the origins for which cross-origin requests are allowed from a browser.
- setAllowedOrigins(String...) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompWebSocketEndpointRegistration
- setAllowedOrigins(String...) - Method in interface org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration
-
Set the origins for which cross-origin requests are allowed from a browser.
- setAllowedOrigins(Collection) - Method in class org.springframework.web.socket.server.support.OriginHandshakeInterceptor
-
Set the origins for which cross-origin requests are allowed from a browser.
- setAllowedOrigins(Collection) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Set the origins for which cross-origin requests are allowed from a browser.
- setAnnotatedEndpointClasses(Class...) - Method in class org.springframework.web.socket.server.standard.ServerEndpointExporter
-
Explicitly list annotated endpoint types that should be registered on startup.
- setApplicationContext(ApplicationContext) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
- setAsyncSendTimeout(long) - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- setAsyncSendTimeout(Long) - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- setAutoStartup(boolean) - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
-
Set whether to auto-connect to the remote endpoint after this connection manager has been initialized and the Spring context has been refreshed.
- setAutoStartup(boolean) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Set whether to auto-start the contained WebSocketClient when the Spring context has been refreshed.
- setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
- setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.handler.BeanCreatingHandlerProvider
- setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.handler.PerConnectionWebSocketHandler
- setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- setBinaryMessageSizeLimit(int) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- setBinaryMessageSizeLimit(int) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- setBinaryMessageSizeLimit(int) - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- setBinaryMessageSizeLimit(int) - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- setBinaryMessageSizeLimit(int) - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- setBinaryMessageSizeLimit(int) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- setBinaryMessageSizeLimit(int) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- setBinaryMessageSizeLimit(int) - Method in interface org.springframework.web.socket.WebSocketSession
-
Configure the maximum size for an incoming binary message.
- setClientLibraryUrl(String) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
Transports with no native cross-domain communication (for example, "eventsource", "htmlfile") must get a simple page from the "foreign" domain in an invisible
iframeso that code in theiframecan run from a domain local to the SockJS server. - setConfigurator(ClientEndpointConfig.Configurator) - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- setConfigurers(List) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketConfiguration
- setConfigurers(List) - Method in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
- setConnectTimeoutScheduler(TaskScheduler) - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
Configure a
TaskSchedulerfor scheduling a connect timeout task where the timeout value is calculated based on the duration of the initial SockJS "Info" request. - setCopyAllAttributes(boolean) - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
Whether to copy all attributes from the HTTP session.
- setCopyHttpSessionId(boolean) - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
Whether the HTTP session id should be copied to the handshake attributes under the key
HttpSessionHandshakeInterceptor.HTTP_SESSION_ID_ATTR_NAME. - setCreateSession(boolean) - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
-
Whether to allow the HTTP session to be created while accessing it.
- setDecoder(StompDecoder) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Configure a
StompDecoderfor decoding STOMP frames. - setDecoders(List) - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- setDecoders(List) - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- setDecoratorFactories(WebSocketHandlerDecoratorFactory...) - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Configure one or more factories to decorate the handler used to process WebSocket messages.
- setDefaultProtocolHandler(SubProtocolHandler) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Set the
SubProtocolHandlerto use when the client did not request a sub-protocol. - setDisconnectDelay(long) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
The amount of time in milliseconds before a client is considered disconnected after not having a receiving connection, i.e.
- setDisconnectDelay(long) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
The amount of time in milliseconds before a client is considered disconnected after not having a receiving connection, i.e.
- setEncoder(StompEncoder) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Configure a
StompEncoderfor encoding STOMP frames. - setEncoders(List) - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- setEncoders(List) - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- setErrorHandler(StompSubProtocolErrorHandler) - Method in interface org.springframework.web.socket.config.annotation.StompEndpointRegistry
-
Configure a handler for customizing or handling STOMP ERROR frames to clients.
- setErrorHandler(StompSubProtocolErrorHandler) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
- setErrorHandler(StompSubProtocolErrorHandler) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Configure a handler for error messages sent to clients which allows customizing the error messages or preventing them from being sent.
- setExtensions(Extension...) - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- setExtensions(List) - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- setHandshakeHandler(HandshakeHandler) - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- setHandshakeHandler(HandshakeHandler) - Method in interface org.springframework.web.socket.config.annotation.StompWebSocketEndpointRegistration
-
Configure the HandshakeHandler to use.
- setHandshakeHandler(HandshakeHandler) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompWebSocketEndpointRegistration
- setHandshakeHandler(HandshakeHandler) - Method in interface org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration
-
Configure the HandshakeHandler to use.
- setHandshakeInterceptors(List) - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
-
Configure one or more WebSocket handshake request interceptors.
- setHandshakeInterceptors(List) - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
-
Configure one or more WebSocket handshake request interceptors.
- setHeaderInitializer(MessageHeaderInitializer) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Configure a
MessageHeaderInitializerto apply to the headers of all messages created from decoded STOMP frames and other messages sent to the client inbound channel. - setHeaders(HttpHeaders) - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
-
Provide default headers to add to the WebSocket handshake request.
- setHeartbeatTime(long) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
The amount of time in milliseconds when the server has not sent any messages and after which the server should send a heartbeat frame to the client in order to keep the connection from breaking.
- setHeartbeatTime(long) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Specify the amount of time in milliseconds when the server has not sent any messages and after which the server should send a heartbeat frame to the client in order to keep the connection from breaking.
- setHttpHeaderNames(String...) - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
The names of HTTP headers that should be copied from the handshake headers of each call to
SockJsClient.execute(WebSocketHandler, WebSocketHttpHeaders, URI)and also used with other HTTP requests issued as part of that SockJS connection, for example, the initial info request, XHR send or receive requests. - setHttpMessageCacheSize(int) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
The number of server-to-client messages that a session can cache while waiting for the next HTTP polling request from the client.
- setHttpMessageCacheSize(int) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
The number of server-to-client messages that a session can cache while waiting for the next HTTP polling request from the client.
- setInboundChannelExecutor(TaskExecutor) - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
- setInboundMessageSizeLimit(int) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Configure the maximum size allowed for inbound STOMP message.
- setInfoReceiver(InfoReceiver) - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
Configure the
InfoReceiverto use to perform the SockJS "Info" request before the SockJS session starts. - setInterceptors(HandshakeInterceptor...) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
- setLoggingPeriod(long) - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
-
Set the frequency for logging information at INFO level in milliseconds.
- setMaxBinaryMessageBufferSize(int) - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- setMaxBinaryMessageBufferSize(Integer) - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- setMaxSessionIdleTimeout(long) - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- setMaxSessionIdleTimeout(Long) - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- setMaxTextMessageBufferSize(int) - Method in class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- setMaxTextMessageBufferSize(Integer) - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- setMessageCallback(Consumer) - Method in class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
-
Set a callback invoked after a message is added to the send buffer.
- setMessageCodec(SockJsMessageCodec) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
The codec to use for encoding and decoding SockJS messages.
- setMessageCodec(SockJsMessageCodec) - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
-
Set the SockJsMessageCodec to use.
- setMessageCodec(SockJsMessageCodec) - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
-
The codec to use for encoding and decoding SockJS messages.
- setMessageSizeLimit(int) - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Configure the maximum size of an inbound sub-protocol message, such as a STOMP frame which may be aggregated from multiple WebSocket messages.
- setMessageSizeLimit(int) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Configure the maximum size allowed for an incoming STOMP message.
- setName(String) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Set a unique name for this service (mainly for logging purposes).
- setOrder(int) - Method in class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry
-
Set the order for the resulting
SimpleUrlHandlerMappingrelative to other handler mappings configured in Spring MVC. - setOrder(int) - Method in interface org.springframework.web.socket.config.annotation.StompEndpointRegistry
-
Set the order of the
HandlerMappingused for STOMP endpoints relative to other Spring MVC handler mappings. - setOrder(int) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
-
Set the order for the resulting
HandlerMappingrelative to other handler mappings configured in Spring MVC. - setOrder(int) - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
-
Specify the order value for this registry.
- setOrigin(String) - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
-
Set the origin to use.
- setOutboundChannelExecutor(TaskExecutor) - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
- setOutboundMessageSizeLimit(Integer) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Configure the maximum size allowed for outbound STOMP message.
- setPhase(int) - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
-
Specify the phase in which a connection should be established to the remote endpoint and subsequently closed.
- setPhase(int) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Set the phase that this handler should run in.
- setPhase(int) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
-
Specify the phase in which the WebSocket client should be started and subsequently closed.
- setPhase(int) - Method in class org.springframework.web.socket.server.support.WebSocketHandlerMapping
-
Set the phase that this handler should run in.
- setPreserveReceiveOrder(boolean) - Method in interface org.springframework.web.socket.config.annotation.StompEndpointRegistry
-
Whether to handle client messages sequentially in the order in which they were received.
- setPreserveReceiveOrder(boolean) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
- setPreserveReceiveOrder(boolean) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
Whether client messages must be handled in the order received.
- setProtocolHandlers(List) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Configure one or more handlers to use depending on the sub-protocol requested by the client in the WebSocket handshake request.
- setSecWebSocketAccept(String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Sets the (new) value of the
Sec-WebSocket-Acceptheader. - setSecWebSocketExtensions(List) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Sets the (new) value(s) of the
Sec-WebSocket-Extensionsheader. - setSecWebSocketKey(String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Sets the (new) value of the
Sec-WebSocket-Keyheader. - setSecWebSocketProtocol(String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Sets the (new) value of the
Sec-WebSocket-Protocolheader. - setSecWebSocketProtocol(List) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Sets the (new) value of the
Sec-WebSocket-Protocolheader. - setSecWebSocketVersion(String) - Method in class org.springframework.web.socket.WebSocketHttpHeaders
-
Sets the (new) value of the
Sec-WebSocket-Versionheader. - setSendBufferSizeLimit(int) - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Configure the maximum amount of data to buffer when sending messages to a WebSocket session, or an HTTP response when SockJS fallback option are in use.
- setSendBufferSizeLimit(int) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Specify the buffer-size limit (number of bytes).
- setSendTimeLimit(int) - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Configure a time limit (in milliseconds) for the maximum amount of a time allowed when sending messages to a WebSocket session or writing to an HTTP response when SockJS fallback option are in use.
- setSendTimeLimit(int) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Specify the send-time limit (milliseconds).
- setServerContainer(ServerContainer) - Method in class org.springframework.web.socket.server.standard.ServerEndpointExporter
-
Set the JSR-356
ServerContainerto use for endpoint registration. - setServletContext(ServletContext) - Method in class org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
- setServletContext(ServletContext) - Method in class org.springframework.web.socket.server.jetty.JettyRequestUpgradeStrategy
- setServletContext(ServletContext) - Method in class org.springframework.web.socket.server.support.DefaultHandshakeHandler
- setServletContext(ServletContext) - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
- setServletContext(ServletContext) - Method in class org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
- setServletContext(ServletContext) - Method in class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
- setServletContext(ServletContext) - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- setSessionCookieNeeded(boolean) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
The SockJS protocol requires a server to respond to the initial "/info" request from clients with a "cookie_needed" boolean property that indicates whether the use of a JSESSIONID cookie is required for the application to function correctly, for example, for load balancing or in Java Servlet containers for the use of an HTTP session.
- setSessionCookieNeeded(boolean) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
The SockJS protocol requires a server to respond to an initial "/info" request from clients with a "cookie_needed" boolean property that indicates whether the use of a JSESSIONID cookie is required for the application to function correctly, for example, for load balancing or in Java Servlet containers for the use of an HTTP session.
- setSockJsClientLibraryUrl(String) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Transports with no native cross-domain communication (for example, "eventsource", "htmlfile") must get a simple page from the "foreign" domain in an invisible
iframeso that code in theiframecan run from a domain local to the SockJS server. - setSockJsTaskScheduler(TaskScheduler) - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
- setSslContext(SSLContext) - Method in class org.springframework.web.socket.client.standard.StandardWebSocketClient
-
Set the
SSLContextto use forClientEndpointConfig.getSSLContext(). - setStompBrokerRelay(StompBrokerRelayMessageHandler) - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
- setStreamBytesLimit(int) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
Streaming transports save responses on the client side and don't free memory used by delivered messages.
- setStreamBytesLimit(int) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Streaming transports save responses on the client side and don't free memory used by delivered messages.
- setSubprotocols(List) - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- setSubProtocols(List) - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
-
Set the sub-protocols to use.
- setSubProtocolWebSocketHandler(SubProtocolWebSocketHandler) - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
- setSupportedProtocols(String...) - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- setSupportedProtocols(String...) - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
-
Use this property to configure the list of supported sub-protocols.
- setSuppressCors(boolean) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
This option can be used to disable automatic addition of CORS headers for SockJS requests.
- setSuppressCors(boolean) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
This option can be used to disable automatic addition of CORS headers for SockJS requests.
- setTaskExecutor(AsyncTaskExecutor) - Method in class org.springframework.web.socket.client.standard.StandardWebSocketClient
-
Set an
AsyncTaskExecutorto use when opening connections. - setTaskExecutor(TaskExecutor) - Method in class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
-
Set a
TaskExecutorto use to open the connection. - setTaskExecutor(TaskExecutor) - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
-
Set a
TaskExecutorto use to open connections. - setTaskExecutor(TaskExecutor) - Method in class org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport
-
Configure the
TaskExecutorto use to execute XHR receive requests. - setTaskScheduler(TaskScheduler) - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
- setTaskScheduler(TaskScheduler) - Method in class org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry
-
Provide the TaskScheduler to use for SockJS endpoints for which a task scheduler has not been explicitly registered.
- setTaskScheduler(TaskScheduler) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
A scheduler instance to use for scheduling SockJS heart-beats.
- setTextMessageSizeLimit(int) - Method in class org.springframework.web.socket.adapter.jetty.JettyWebSocketSession
- setTextMessageSizeLimit(int) - Method in class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
- setTextMessageSizeLimit(int) - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- setTextMessageSizeLimit(int) - Method in class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- setTextMessageSizeLimit(int) - Method in class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
- setTextMessageSizeLimit(int) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- setTextMessageSizeLimit(int) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- setTextMessageSizeLimit(int) - Method in interface org.springframework.web.socket.WebSocketSession
-
Configure the maximum size for an incoming text message.
- setTimeToFirstMessage(int) - Method in class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
-
Set the maximum time allowed in milliseconds after the WebSocket connection is established and before the first sub-protocol message is received.
- setTimeToFirstMessage(int) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Set the maximum time allowed in milliseconds after the WebSocket connection is established and before the first sub-protocol message is received.
- setTransportHandlerOverrides(TransportHandler...) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
- setTransportHandlers(TransportHandler...) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
- setUrlPathHelper(UrlPathHelper) - Method in class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUrlPathHelper(UrlPathHelper) - Method in interface org.springframework.web.socket.config.annotation.StompEndpointRegistry
-
Deprecated, for removal: This API element is subject to removal in a future version.use of
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser. - setUserProperties(Map) - Method in class org.springframework.web.socket.client.standard.StandardWebSocketClient
-
The standard Jakarta WebSocket API allows passing "user properties" to the server via
userProperties. - setUserProperties(Map) - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- setWebSocketContainer(WebSocketContainer) - Method in class org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager
- setWebSocketContainer(WebSocketContainer) - Method in class org.springframework.web.socket.client.standard.EndpointConnectionManager
- setWebSocketEnabled(boolean) - Method in class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
-
Some load balancers don't support WebSocket.
- setWebSocketEnabled(boolean) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Some load balancers do not support WebSocket.
- setWebSocketUpgradeMatch(boolean) - Method in class org.springframework.web.socket.server.support.WebSocketHandlerMapping
-
When this is set, if the matched handler is
WebSocketHttpRequestHandler, ensure the request is a WebSocket handshake, i.e. - setXhrStreamingDisabled(boolean) - Method in class org.springframework.web.socket.sockjs.client.AbstractXhrTransport
-
An
XhrTransportcan support both the "xhr_streaming" and "xhr" SockJS server transports. - shouldSuppressCors() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
-
Return if automatic addition of CORS headers has been disabled.
- size() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- SockJsClient - Class in org.springframework.web.socket.sockjs.client
-
A SockJS implementation of
WebSocketClientwith fallback alternatives that simulate a WebSocket interaction through plain HTTP streaming and long polling techniques. - SockJsClient(List) - Constructor for class org.springframework.web.socket.sockjs.client.SockJsClient
-
Create a
SockJsClientwith the given transports. - SockJsException - Exception Class in org.springframework.web.socket.sockjs
-
Base class for exceptions raised while processing SockJS HTTP requests.
- SockJsException(String, String, Throwable) - Constructor for exception class org.springframework.web.socket.sockjs.SockJsException
-
Constructor for SockJsException.
- SockJsException(String, Throwable) - Constructor for exception class org.springframework.web.socket.sockjs.SockJsException
-
Constructor for SockJsException.
- SockJsFrame - Class in org.springframework.web.socket.sockjs.frame
-
Represents a SockJS frame.
- SockJsFrame(String) - Constructor for class org.springframework.web.socket.sockjs.frame.SockJsFrame
-
Create a new instance frame with the given frame content.
- SockJsFrameFormat - Interface in org.springframework.web.socket.sockjs.frame
-
Applies a transport-specific format to the content of a SockJS frame resulting in a content that can be written out.
- SockJsFrameType - Enum Class in org.springframework.web.socket.sockjs.frame
-
SockJS frame types.
- SockJsHttpRequestHandler - Class in org.springframework.web.socket.sockjs.support
-
An
HttpRequestHandlerthat allows mapping aSockJsServiceto requests in a Servlet container. - SockJsHttpRequestHandler(SockJsService, WebSocketHandler) - Constructor for class org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
-
Create a new SockJsHttpRequestHandler.
- SockJsMessageCodec - Interface in org.springframework.web.socket.sockjs.frame
-
Encode and decode messages to and from a SockJS message frame, essentially an array of JSON-encoded messages.
- SockJsMessageDeliveryException - Exception Class in org.springframework.web.socket.sockjs
-
An exception thrown when a message frame was successfully received over an HTTP POST and parsed but one or more of the messages it contained could not be delivered to the WebSocketHandler either because the handler failed or because the connection got closed.
- SockJsMessageDeliveryException(String, List, String) - Constructor for exception class org.springframework.web.socket.sockjs.SockJsMessageDeliveryException
- SockJsMessageDeliveryException(String, List, Throwable) - Constructor for exception class org.springframework.web.socket.sockjs.SockJsMessageDeliveryException
- SockJsService - Interface in org.springframework.web.socket.sockjs
-
The main entry point for processing HTTP requests from SockJS clients.
- SockJsServiceConfig - Interface in org.springframework.web.socket.sockjs.transport
-
Provides transport handling code with access to the
SockJsServiceconfiguration options they need to have access to. - SockJsServiceRegistration - Class in org.springframework.web.socket.config.annotation
-
A helper class for configuring SockJS fallback options for use with an
EnableWebSocketandWebSocketConfigurersetup. - SockJsServiceRegistration() - Constructor for class org.springframework.web.socket.config.annotation.SockJsServiceRegistration
- SockJsSession - Interface in org.springframework.web.socket.sockjs.transport
-
SockJS extension of Spring's standard
WebSocketSession. - SockJsSessionFactory - Interface in org.springframework.web.socket.sockjs.transport
-
A factory for creating a SockJS session.
- SockJsTransportFailureException - Exception Class in org.springframework.web.socket.sockjs
-
Indicates a serious failure that occurred in the SockJS implementation as opposed to in user code (for example, IOException while writing to the response).
- SockJsTransportFailureException(String, Throwable) - Constructor for exception class org.springframework.web.socket.sockjs.SockJsTransportFailureException
-
Constructor for SockJsTransportFailureException.
- SockJsTransportFailureException(String, String, Throwable) - Constructor for exception class org.springframework.web.socket.sockjs.SockJsTransportFailureException
-
Constructor for SockJsTransportFailureException.
- SockJsUrlInfo - Class in org.springframework.web.socket.sockjs.client
- SockJsUrlInfo(URI) - Constructor for class org.springframework.web.socket.sockjs.client.SockJsUrlInfo
-
Construct a new
SockJsUrlInfoinstance, calculating a random server id and session id if necessary. - SockJsUrlInfo(URI, String, String) - Constructor for class org.springframework.web.socket.sockjs.client.SockJsUrlInfo
-
Construct a new
SockJsUrlInfoinstance. - SockJsWebSocketHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
An implementation of
WebSocketHandlerthat adds SockJS messages frames, sends SockJS heartbeat messages, and delegates lifecycle events and messages to a targetWebSocketHandler. - SockJsWebSocketHandler(SockJsServiceConfig, WebSocketHandler, WebSocketServerSockJsSession) - Constructor for class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
- SpringConfigurator - Class in org.springframework.web.socket.server.standard
-
A
ServerEndpointConfig.Configuratorfor initializingServerEndpoint-annotated classes through Spring. - SpringConfigurator() - Constructor for class org.springframework.web.socket.server.standard.SpringConfigurator
- StandardToWebSocketExtensionAdapter - Class in org.springframework.web.socket.adapter.standard
-
A subclass of
WebSocketExtensionthat can be constructed from aExtension. - StandardToWebSocketExtensionAdapter(Extension) - Constructor for class org.springframework.web.socket.adapter.standard.StandardToWebSocketExtensionAdapter
- StandardWebSocketClient - Class in org.springframework.web.socket.client.standard
-
A WebSocketClient based on the standard Jakarta WebSocket API.
- StandardWebSocketClient() - Constructor for class org.springframework.web.socket.client.standard.StandardWebSocketClient
-
Default constructor that calls
ContainerProvider.getWebSocketContainer()to obtain a (new)WebSocketContainerinstance. - StandardWebSocketClient(WebSocketContainer) - Constructor for class org.springframework.web.socket.client.standard.StandardWebSocketClient
-
Constructor accepting an existing
WebSocketContainerinstance. - StandardWebSocketHandlerAdapter - Class in org.springframework.web.socket.adapter.standard
-
Adapts a
WebSocketHandlerto the standard WebSocket for Java API. - StandardWebSocketHandlerAdapter(WebSocketHandler, StandardWebSocketSession) - Constructor for class org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter
- StandardWebSocketSession - Class in org.springframework.web.socket.adapter.standard
-
A
WebSocketSessionfor use with the standard WebSocket for Java API. - StandardWebSocketSession(HttpHeaders, Map, InetSocketAddress, InetSocketAddress) - Constructor for class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
-
Constructor for a standard WebSocket session.
- StandardWebSocketSession(HttpHeaders, Map, InetSocketAddress, InetSocketAddress, Principal) - Constructor for class org.springframework.web.socket.adapter.standard.StandardWebSocketSession
-
Constructor that associates a user with the WebSocket session.
- StandardWebSocketUpgradeStrategy - Class in org.springframework.web.socket.server.standard
-
A WebSocket
RequestUpgradeStrategyfor the Jakarta WebSocket API 2.1+. - StandardWebSocketUpgradeStrategy() - Constructor for class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
- start() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
-
Start the WebSocket connection.
- start() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- start() - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
- start() - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- start() - Method in class org.springframework.web.socket.server.support.WebSocketHandlerMapping
- start() - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
- start() - Method in class org.springframework.web.socket.sockjs.client.JettyXhrTransport
- start() - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
- start() - Method in class org.springframework.web.socket.sockjs.client.WebSocketTransport
- start() - Method in class org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
- start() - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- start() - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
- startInternal() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
- startInternal() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
- StompEndpointRegistry - Interface in org.springframework.web.socket.config.annotation
-
A contract for registering STOMP over WebSocket endpoints.
- StompSubProtocolErrorHandler - Class in org.springframework.web.socket.messaging
-
A
SubProtocolErrorHandlerfor use with STOMP. - StompSubProtocolErrorHandler() - Constructor for class org.springframework.web.socket.messaging.StompSubProtocolErrorHandler
- StompSubProtocolHandler - Class in org.springframework.web.socket.messaging
-
A
SubProtocolHandlerfor STOMP that supports versions 1.0, 1.1, and 1.2 of the STOMP specification. - StompSubProtocolHandler() - Constructor for class org.springframework.web.socket.messaging.StompSubProtocolHandler
- StompSubProtocolHandler.Stats - Interface in org.springframework.web.socket.messaging
-
Contract for access to session counters.
- StompWebSocketEndpointRegistration - Interface in org.springframework.web.socket.config.annotation
-
A contract for configuring a STOMP over WebSocket endpoint.
- stompWebSocketHandlerMapping(WebSocketHandler, TaskScheduler, AbstractSubscribableChannel) - Method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- stop() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
- stop() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- stop() - Method in class org.springframework.web.socket.messaging.WebSocketStompClient
- stop() - Method in class org.springframework.web.socket.server.support.AbstractHandshakeHandler
- stop() - Method in class org.springframework.web.socket.server.support.WebSocketHandlerMapping
- stop() - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
- stop() - Method in class org.springframework.web.socket.sockjs.client.JettyXhrTransport
- stop() - Method in class org.springframework.web.socket.sockjs.client.SockJsClient
- stop() - Method in class org.springframework.web.socket.sockjs.client.WebSocketTransport
- stop() - Method in class org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
- stop() - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- stop() - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
- stop(Runnable) - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
- stop(Runnable) - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- stopInternal() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
- stopInternal() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
- StreamingSockJsSession - Class in org.springframework.web.socket.sockjs.transport.session
-
A SockJS session for use with streaming HTTP transports.
- StreamingSockJsSession(String, SockJsServiceConfig, WebSocketHandler, Map) - Constructor for class org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession
- SubProtocolCapable - Interface in org.springframework.web.socket
-
An interface for WebSocket handlers that support sub-protocols as defined in RFC 6455.
- SubProtocolErrorHandler<P> - Interface in org.springframework.web.socket.messaging
-
A contract for handling sub-protocol errors sent to clients.
- SubProtocolHandler - Interface in org.springframework.web.socket.messaging
-
A contract for handling WebSocket messages as part of a higher level protocol, referred to as "sub-protocol" in the WebSocket RFC specification.
- subProtocolWebSocketHandler(AbstractSubscribableChannel, AbstractSubscribableChannel) - Method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- SubProtocolWebSocketHandler - Class in org.springframework.web.socket.messaging
-
An implementation of
WebSocketHandlerthat delegates incoming WebSocket messages to aSubProtocolHandleralong with aMessageChannelto which the sub-protocol handler can send messages from WebSocket clients to the application. - SubProtocolWebSocketHandler(MessageChannel, SubscribableChannel) - Constructor for class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
-
Create a new
SubProtocolWebSocketHandlerfor the given inbound and outbound channels. - SubProtocolWebSocketHandler.Stats - Interface in org.springframework.web.socket.messaging
-
Contract for access to session counters.
- supportsCors() - Method in enum class org.springframework.web.socket.sockjs.transport.TransportType
- supportsEventType(Class) - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
- supportsOrigin() - Method in enum class org.springframework.web.socket.sockjs.transport.TransportType
- supportsPartialMessages() - Method in class org.springframework.web.socket.handler.AbstractWebSocketHandler
- supportsPartialMessages() - Method in class org.springframework.web.socket.handler.PerConnectionWebSocketHandler
- supportsPartialMessages() - Method in class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- supportsPartialMessages() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- supportsPartialMessages() - Method in interface org.springframework.web.socket.WebSocketHandler
-
Whether the WebSocketHandler handles partial messages.
- supportsSourceType(Class) - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
T
- TERMINATE - Enum constant in enum class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator.OverflowStrategy
-
Throw
SessionLimitExceededExceptionthat will result in the session being terminated. - TextDecoder() - Constructor for class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport.TextDecoder
- TextEncoder() - Constructor for class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport.TextEncoder
- TextMessage - Class in org.springframework.web.socket
-
A text WebSocket message.
- TextMessage(byte[]) - Constructor for class org.springframework.web.socket.TextMessage
-
Create a new text WebSocket message from the given byte[].
- TextMessage(CharSequence) - Constructor for class org.springframework.web.socket.TextMessage
-
Create a new text WebSocket message from the given CharSequence payload.
- TextMessage(CharSequence, boolean) - Constructor for class org.springframework.web.socket.TextMessage
-
Create a new text WebSocket message with the given payload representing the full or partial message content.
- TextWebSocketHandler - Class in org.springframework.web.socket.handler
-
A convenient base class for
WebSocketHandlerimplementations that process text messages only. - TextWebSocketHandler() - Constructor for class org.springframework.web.socket.handler.TextWebSocketHandler
- TLS_HANDSHAKE_FAILURE - Static variable in class org.springframework.web.socket.CloseStatus
-
"1015 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
- toMutableAccessor(StompHeaderAccessor, Message) - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
- TOO_BIG_TO_PROCESS - Static variable in class org.springframework.web.socket.CloseStatus
-
"1009 indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process."
- toSingleValueMap() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- toString() - Method in class org.springframework.web.socket.AbstractWebSocketMessage
- toString() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSession
- toString() - Method in class org.springframework.web.socket.CloseStatus
- toString() - Method in class org.springframework.web.socket.config.WebSocketMessageBrokerStats
- toString() - Method in class org.springframework.web.socket.handler.BeanCreatingHandlerProvider
- toString() - Method in class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator
- toString() - Method in class org.springframework.web.socket.handler.PerConnectionWebSocketHandler
- toString() - Method in class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- toString() - Method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- toString() - Method in class org.springframework.web.socket.messaging.AbstractSubProtocolEvent
- toString() - Method in class org.springframework.web.socket.messaging.DefaultSimpUserRegistry
- toString() - Method in class org.springframework.web.socket.messaging.SessionDisconnectEvent
- toString() - Method in class org.springframework.web.socket.messaging.StompSubProtocolHandler
- toString() - Method in class org.springframework.web.socket.messaging.SubProtocolWebSocketHandler
- toString() - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- toString() - Method in class org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession
- toString() - Method in class org.springframework.web.socket.sockjs.client.SockJsUrlInfo
- toString() - Method in class org.springframework.web.socket.sockjs.client.WebSocketTransport
- toString() - Method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- toString() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- toString() - Method in enum class org.springframework.web.socket.sockjs.transport.TransportType
- toString() - Method in class org.springframework.web.socket.WebSocketExtension
- toString() - Method in class org.springframework.web.socket.WebSocketHttpHeaders
- toStringPayload() - Method in class org.springframework.web.socket.AbstractWebSocketMessage
- toStringPayload() - Method in class org.springframework.web.socket.BinaryMessage
- toStringPayload() - Method in class org.springframework.web.socket.PingMessage
- toStringPayload() - Method in class org.springframework.web.socket.PongMessage
- toStringPayload() - Method in class org.springframework.web.socket.TextMessage
- Transport - Interface in org.springframework.web.socket.sockjs.client
-
A client-side implementation for a SockJS transport.
- TransportHandler - Interface in org.springframework.web.socket.sockjs.transport
-
Handle a SockJS session URL, i.e.
- TransportHandlingSockJsService - Class in org.springframework.web.socket.sockjs.transport
-
A basic implementation of
SockJsServicewith support for SPI-based transport handling and session management. - TransportHandlingSockJsService(TaskScheduler, Collection) - Constructor for class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
-
Create a TransportHandlingSockJsService with given
handlertypes. - TransportHandlingSockJsService(TaskScheduler, TransportHandler...) - Constructor for class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
-
Create a TransportHandlingSockJsService with given
handlertypes. - TransportRequest - Interface in org.springframework.web.socket.sockjs.client
- TransportType - Enum Class in org.springframework.web.socket.sockjs.transport
-
SockJS transport types.
- tryCloseWithError(WebSocketSession, Throwable, Log) - Static method in class org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator
- tryCloseWithSockJsTransportError(Throwable, CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
Close due to error arising from SockJS transport handling.
U
- unwrap(WebSocketHandler) - Static method in class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- unwrap(WebSocketSession) - Static method in class org.springframework.web.socket.handler.WebSocketSessionDecorator
- updateLastActiveTime() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
Should be invoked whenever the session becomes inactive.
- upgrade(ServerHttpRequest, ServerHttpResponse, String, List, Principal, WebSocketHandler, Map) - Method in class org.springframework.web.socket.server.jetty.JettyRequestUpgradeStrategy
- upgrade(ServerHttpRequest, ServerHttpResponse, String, List, Principal, WebSocketHandler, Map) - Method in interface org.springframework.web.socket.server.RequestUpgradeStrategy
-
Perform runtime specific steps to complete the upgrade.
- upgrade(ServerHttpRequest, ServerHttpResponse, String, List, Principal, WebSocketHandler, Map) - Method in class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
V
- validateRequest(String, String, String) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
- validateRequest(String, String, String) - Method in class org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService
- value() - Method in enum class org.springframework.web.socket.sockjs.transport.TransportType
- valueOf(String) - Static method in enum class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator.OverflowStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.web.socket.sockjs.frame.SockJsFrameType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.web.socket.sockjs.transport.TransportType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator.OverflowStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.web.socket.sockjs.frame.SockJsFrameType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.web.socket.sockjs.transport.TransportType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WebMvcStompEndpointRegistry - Class in org.springframework.web.socket.config.annotation
-
A registry for STOMP over WebSocket endpoints that maps the endpoints with a
HandlerMappingfor use in Spring MVC. - WebMvcStompEndpointRegistry(WebSocketHandler, WebSocketTransportRegistration, TaskScheduler) - Constructor for class org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry
- WebMvcStompWebSocketEndpointRegistration - Class in org.springframework.web.socket.config.annotation
-
An abstract base class for configuring STOMP over WebSocket/SockJS endpoints.
- WebMvcStompWebSocketEndpointRegistration(String[], WebSocketHandler, TaskScheduler) - Constructor for class org.springframework.web.socket.config.annotation.WebMvcStompWebSocketEndpointRegistration
- WEBSOCKET - Enum constant in enum class org.springframework.web.socket.sockjs.transport.TransportType
- WebSocketAnnotationMethodMessageHandler - Class in org.springframework.web.socket.messaging
-
A subclass of
SimpAnnotationMethodMessageHandlerto provide support forControllerAdvicewith global@MessageExceptionHandlermethods. - WebSocketAnnotationMethodMessageHandler(SubscribableChannel, MessageChannel, SimpMessageSendingOperations) - Constructor for class org.springframework.web.socket.messaging.WebSocketAnnotationMethodMessageHandler
- WebSocketClient - Interface in org.springframework.web.socket.client
-
Contract for initiating a WebSocket request.
- WebSocketClientSockJsSession - Class in org.springframework.web.socket.sockjs.client
-
An extension of
AbstractClientSockJsSessionwrapping and delegating to an actual WebSocket session. - WebSocketClientSockJsSession(TransportRequest, WebSocketHandler, CompletableFuture) - Constructor for class org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession
- WebSocketConfigurationSupport - Class in org.springframework.web.socket.config.annotation
-
Configuration support for WebSocket request handling.
- WebSocketConfigurationSupport() - Constructor for class org.springframework.web.socket.config.annotation.WebSocketConfigurationSupport
- WebSocketConfigurer - Interface in org.springframework.web.socket.config.annotation
-
Defines callback methods to configure the WebSocket request handling via
@EnableWebSocket. - WebSocketConnectionManager - Class in org.springframework.web.socket.client
-
WebSocket
connection managerthat connects to the server viaWebSocketClientand handles the session with aWebSocketHandler. - WebSocketConnectionManager(WebSocketClient, WebSocketHandler, String, Object...) - Constructor for class org.springframework.web.socket.client.WebSocketConnectionManager
-
Constructor with the client to use and a handler to handle messages with.
- WebSocketConnectionManager(WebSocketClient, WebSocketHandler, URI) - Constructor for class org.springframework.web.socket.client.WebSocketConnectionManager
-
Variant of
WebSocketConnectionManager(WebSocketClient, WebSocketHandler, String, Object...)with a preparedURI. - WebSocketContainerFactoryBean - Class in org.springframework.web.socket.client.standard
-
A FactoryBean for creating and configuring a
WebSocketContainerthrough Spring XML configuration. - WebSocketContainerFactoryBean() - Constructor for class org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean
- WebSocketExtension - Class in org.springframework.web.socket
-
Represents a WebSocket extension as defined in the RFC 6455.
- WebSocketExtension(String) - Constructor for class org.springframework.web.socket.WebSocketExtension
-
Create a WebSocketExtension with the given name.
- WebSocketExtension(String, Map) - Constructor for class org.springframework.web.socket.WebSocketExtension
-
Create a WebSocketExtension with the given name and parameters.
- WebSocketHandler - Interface in org.springframework.web.socket
-
A handler for WebSocket messages and lifecycle events.
- WebSocketHandlerDecorator - Class in org.springframework.web.socket.handler
-
Wraps another
WebSocketHandlerinstance and delegates to it. - WebSocketHandlerDecorator(WebSocketHandler) - Constructor for class org.springframework.web.socket.handler.WebSocketHandlerDecorator
- WebSocketHandlerDecoratorFactory - Interface in org.springframework.web.socket.handler
-
A factory for applying decorators to a WebSocketHandler.
- webSocketHandlerMapping(WebSocketConfigurationSupport.DefaultSockJsSchedulerContainer) - Method in class org.springframework.web.socket.config.annotation.WebSocketConfigurationSupport
- WebSocketHandlerMapping - Class in org.springframework.web.socket.server.support
-
Extension of
SimpleUrlHandlerMappingwith support for more precise mapping of WebSocket handshake requests to handlers of typeWebSocketHttpRequestHandler. - WebSocketHandlerMapping() - Constructor for class org.springframework.web.socket.server.support.WebSocketHandlerMapping
- WebSocketHandlerRegistration - Interface in org.springframework.web.socket.config.annotation
-
Provides methods for configuring a WebSocket handler.
- WebSocketHandlerRegistry - Interface in org.springframework.web.socket.config.annotation
-
Provides methods for configuring
WebSocketHandlerrequest mappings. - WebSocketHttpHeaders - Class in org.springframework.web.socket
-
An
HttpHeadersvariant that adds support for the HTTP headers defined by the WebSocket specification RFC 6455. - WebSocketHttpHeaders() - Constructor for class org.springframework.web.socket.WebSocketHttpHeaders
-
Create a new instance.
- WebSocketHttpHeaders(HttpHeaders) - Constructor for class org.springframework.web.socket.WebSocketHttpHeaders
-
Create an instance that wraps the given pre-existing HttpHeaders and also propagate all changes to it.
- WebSocketHttpRequestHandler - Class in org.springframework.web.socket.server.support
-
A
HttpRequestHandlerfor processing WebSocket handshake requests. - WebSocketHttpRequestHandler(WebSocketHandler) - Constructor for class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
- WebSocketHttpRequestHandler(WebSocketHandler, HandshakeHandler) - Constructor for class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
- WebSocketMessage<T> - Interface in org.springframework.web.socket
-
A message that can be handled or sent on a WebSocket connection.
- WebSocketMessageBrokerConfigurationSupport - Class in org.springframework.web.socket.config.annotation
-
Extends
AbstractMessageBrokerConfigurationand adds configuration for receiving and responding to STOMP messages from WebSocket clients. - WebSocketMessageBrokerConfigurationSupport() - Constructor for class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- WebSocketMessageBrokerConfigurer - Interface in org.springframework.web.socket.config.annotation
-
Defines methods for configuring message handling with simple messaging protocols (for example, STOMP) from WebSocket clients.
- webSocketMessageBrokerStats(AbstractBrokerMessageHandler, WebSocketHandler, TaskExecutor, TaskExecutor, TaskScheduler) - Method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- WebSocketMessageBrokerStats - Class in org.springframework.web.socket.config
-
A central class for aggregating information about internal state and counters from key infrastructure components of the setup that comes with
@EnableWebSocketMessageBrokerfor Java config and<websocket:message-broker>for XML. - WebSocketMessageBrokerStats() - Constructor for class org.springframework.web.socket.config.WebSocketMessageBrokerStats
- WebSocketNamespaceHandler - Class in org.springframework.web.socket.config
-
NamespaceHandlerfor Spring WebSocket configuration namespace. - WebSocketNamespaceHandler() - Constructor for class org.springframework.web.socket.config.WebSocketNamespaceHandler
- WebSocketScope - Annotation Interface in org.springframework.web.socket.config.annotation
-
@WebSocketScopeis a specialization of@Scopefor a component whose lifecycle is bound to the current WebSocket lifecycle. - webSocketScopeConfigurer() - Static method in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
- WebSocketServerSockJsSession - Class in org.springframework.web.socket.sockjs.transport.session
-
A SockJS session for use with the WebSocket transport.
- WebSocketServerSockJsSession(String, SockJsServiceConfig, WebSocketHandler, Map) - Constructor for class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
- WebSocketSession - Interface in org.springframework.web.socket
-
A WebSocket session abstraction.
- WebSocketSessionDecorator - Class in org.springframework.web.socket.handler
-
Wraps another
WebSocketSessioninstance and delegates to it. - WebSocketSessionDecorator(WebSocketSession) - Constructor for class org.springframework.web.socket.handler.WebSocketSessionDecorator
- WebSocketStompClient - Class in org.springframework.web.socket.messaging
-
A STOMP over WebSocket client that connects using an implementation of
WebSocketClientincludingSockJsClient. - WebSocketStompClient(WebSocketClient) - Constructor for class org.springframework.web.socket.messaging.WebSocketStompClient
-
Class constructor.
- WebSocketToJettyExtensionConfigAdapter - Class in org.springframework.web.socket.adapter.jetty
-
Adapter class to convert a
WebSocketExtensionto a JettyExtensionConfig. - WebSocketToJettyExtensionConfigAdapter(WebSocketExtension) - Constructor for class org.springframework.web.socket.adapter.jetty.WebSocketToJettyExtensionConfigAdapter
- WebSocketToStandardExtensionAdapter - Class in org.springframework.web.socket.adapter.standard
-
Adapt an instance of
WebSocketExtensionto theExtensioninterface. - WebSocketToStandardExtensionAdapter(WebSocketExtension) - Constructor for class org.springframework.web.socket.adapter.standard.WebSocketToStandardExtensionAdapter
- WebSocketTransport - Class in org.springframework.web.socket.sockjs.client
-
A SockJS
Transportthat uses aWebSocketClient. - WebSocketTransport(WebSocketClient) - Constructor for class org.springframework.web.socket.sockjs.client.WebSocketTransport
- WebSocketTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
WebSocket-based
TransportHandler. - WebSocketTransportHandler(HandshakeHandler) - Constructor for class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
- WebSocketTransportRegistration - Class in org.springframework.web.socket.config.annotation
-
Configure the processing of messages received from and sent to WebSocket clients.
- WebSocketTransportRegistration() - Constructor for class org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
- willDecode(M) - Method in class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
-
Determine if a given message can be decoded.
- withReason(String) - Method in class org.springframework.web.socket.CloseStatus
-
Create a new
CloseStatusfrom this one with the specified reason. - withSockJS() - Method in class org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration
- withSockJS() - Method in interface org.springframework.web.socket.config.annotation.StompWebSocketEndpointRegistration
-
Enable SockJS fallback options.
- withSockJS() - Method in class org.springframework.web.socket.config.annotation.WebMvcStompWebSocketEndpointRegistration
- withSockJS() - Method in interface org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration
-
Enable SockJS fallback options.
- writeFrame(SockJsFrame) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
-
For internal use within a TransportHandler and the (TransportHandler-specific) session class.
- writeFrame(SockJsFrame) - Method in class org.springframework.web.socket.sockjs.transport.session.PollingSockJsSession
- writeFrameInternal(SockJsFrame) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
- writeFrameInternal(SockJsFrame) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
- writeFrameInternal(SockJsFrame) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
X
- XHR - Enum constant in enum class org.springframework.web.socket.sockjs.transport.TransportType
- XHR_SEND - Enum constant in enum class org.springframework.web.socket.sockjs.transport.TransportType
- XHR_STREAMING - Enum constant in enum class org.springframework.web.socket.sockjs.transport.TransportType
- XhrClientSockJsSession - Class in org.springframework.web.socket.sockjs.client
-
An extension of
AbstractClientSockJsSessionfor use with HTTP transports simulating a WebSocket session. - XhrClientSockJsSession(TransportRequest, WebSocketHandler, XhrTransport, CompletableFuture) - Constructor for class org.springframework.web.socket.sockjs.client.XhrClientSockJsSession
-
Create a new
XhrClientSockJsSession. - XhrPollingTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
A
TransportHandlerbased on XHR (long) polling. - XhrPollingTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.XhrPollingTransportHandler
- XhrReceivingTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
A
TransportHandlerthat receives messages over HTTP. - XhrReceivingTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.XhrReceivingTransportHandler
- XhrStreamingTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
-
A
TransportHandlerthat sends messages over an HTTP streaming request. - XhrStreamingTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.XhrStreamingTransportHandler
- XhrTransport - Interface in org.springframework.web.socket.sockjs.client
-
A SockJS
Transportthat uses HTTP requests to simulate a WebSocket interaction.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
JacksonJsonSockJsMessageCodec