spring-websocket
A B C D E F G H I J L M N O P R S T U V W X 

A

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 based SockJS sessions.
AbstractHttpSockJsSession(String, SockJsServiceConfig, WebSocketHandler, Map<String, Object>) - Constructor for class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
AbstractSockJsMessageCodec - Class in org.springframework.web.socket.sockjs.support.frame
An base class for SockJS message codec that provides an implementation of AbstractSockJsMessageCodec.encode(String[]).
AbstractSockJsMessageCodec() - Constructor for class org.springframework.web.socket.sockjs.support.frame.AbstractSockJsMessageCodec
 
AbstractSockJsService - Class in org.springframework.web.socket.sockjs.support
An abstract base class for SockJsService implementations that provides SockJS path resolution and handling of static SockJS requests (e.g.
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 SockJS sessions implementing WebSocketSession.
AbstractSockJsSession(String, SockJsServiceConfig, WebSocketHandler, Map<String, Object>) - Constructor for class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
AbstractStandardUpgradeStrategy - Class in org.springframework.web.socket.server.support
A base class for RequestUpgradeStrategy implementations that build on the standard WebSocket API for Java.
AbstractStandardUpgradeStrategy() - Constructor for class org.springframework.web.socket.server.support.AbstractStandardUpgradeStrategy
 
AbstractWebSocketClient - Class in org.springframework.web.socket.client
Abstract base class for WebSocketClient implementations.
AbstractWebSocketClient() - Constructor for class org.springframework.web.socket.client.AbstractWebSocketClient
 
AbstractWebSocketSesssion<T> - Class in org.springframework.web.socket.adapter
An abstract base class for implementations of WebSocketSession.
AbstractWebSocketSesssion(Map<String, Object>) - Constructor for class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
Class constructor
addCacheHeaders(ServerHttpResponse) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
 
addCorsHeaders(ServerHttpRequest, ServerHttpResponse, HttpMethod...) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
 
addHandler(WebSocketHandler, String...) - Method in class org.springframework.web.socket.server.config.WebSocketHandlerRegistration
 
addHandler(WebSocketHandler, String...) - Method in class org.springframework.web.socket.server.config.WebSocketHandlerRegistry
 
addInterceptors(HandshakeInterceptor...) - Method in class org.springframework.web.socket.server.config.WebSocketHandlerRegistration
 
addNoCacheHeaders(ServerHttpResponse) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
 
addTransportHandlers(Collection<TransportHandler>) - Method in class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
 
afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.adapter.WebSocketHandlerAdapter
 
afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
 
afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.support.ExceptionWebSocketHandlerDecorator
 
afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.support.LoggingWebSocketHandlerDecorator
 
afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.support.PerConnectionWebSocketHandler
 
afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.springframework.web.socket.support.WebSocketHandlerDecorator
 
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.adapter.WebSocketHandlerAdapter
 
afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
 
afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.support.ExceptionWebSocketHandlerDecorator
 
afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.support.LoggingWebSocketHandlerDecorator
 
afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.support.PerConnectionWebSocketHandler
 
afterConnectionEstablished(WebSocketSession) - Method in class org.springframework.web.socket.support.WebSocketHandlerDecorator
 
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
 
afterPropertiesSet() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointExporter
 
afterPropertiesSet() - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
AnnotatedEndpointConnectionManager - Class in org.springframework.web.socket.client.endpoint
A WebSocket connection manager that is given a URI, a <code>ServerEndpoint</code>-annotated endpoint, connects to a WebSocket server through the ConnectionManagerSupport.start() and ConnectionManagerSupport.stop() methods.
AnnotatedEndpointConnectionManager(Object, String, Object...) - Constructor for class org.springframework.web.socket.client.endpoint.AnnotatedEndpointConnectionManager
 
AnnotatedEndpointConnectionManager(Class<?>, String, Object...) - Constructor for class org.springframework.web.socket.client.endpoint.AnnotatedEndpointConnectionManager
 
applyAfterHandshake(ServerHttpRequest, ServerHttpResponse, Exception) - Method in class org.springframework.web.socket.server.support.HandshakeInterceptorChain
 
applyBeforeHandshake(ServerHttpRequest, ServerHttpResponse, Map<String, Object>) - Method in class org.springframework.web.socket.server.support.HandshakeInterceptorChain
 
applyJsonQuoting(String) - Method in class org.springframework.web.socket.sockjs.support.frame.AbstractSockJsMessageCodec
Apply standard JSON string quoting (see http://www.json.org/).
applyJsonQuoting(String) - Method in class org.springframework.web.socket.sockjs.support.frame.Jackson2SockJsMessageCodec
 
applyJsonQuoting(String) - Method in class org.springframework.web.socket.sockjs.support.frame.JacksonSockJsMessageCodec
 

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 (e.g., non-UTF-8 [RFC3629] data within a text message)."
BeanCreatingHandlerProvider<T> - Class in org.springframework.web.socket.support
Instantiates a target handler through a Spring <code>BeanFactory</code> and also provides an equivalent destroy method.
BeanCreatingHandlerProvider(Class<? extends T>) - Constructor for class org.springframework.web.socket.support.BeanCreatingHandlerProvider
 
beforeHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map<String, Object>) - Method in interface org.springframework.web.socket.server.HandshakeInterceptor
Invoked before the handshake is processed.
beforeHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
 
BinaryMessage - Class in org.springframework.web.socket
A WebSocketMessage that contains a binary ByteBuffer payload.
BinaryMessage(ByteBuffer) - Constructor for class org.springframework.web.socket.BinaryMessage
Create a new BinaryMessage instance.
BinaryMessage(ByteBuffer, boolean) - Constructor for class org.springframework.web.socket.BinaryMessage
Create a new BinaryMessage instance.
BinaryMessage(byte[]) - Constructor for class org.springframework.web.socket.BinaryMessage
Create a new BinaryMessage instance.
BinaryMessage(byte[], boolean) - Constructor for class org.springframework.web.socket.BinaryMessage
Create a new BinaryMessage instance.
BinaryMessage(byte[], int, int, boolean) - Constructor for class org.springframework.web.socket.BinaryMessage
Create a new BinaryMessage instance by wrapping an existing byte array.
BinaryWebSocketHandlerAdapter - Class in org.springframework.web.socket.adapter
A convenient base class for WebSocketHandler implementation that process binary messages only.
BinaryWebSocketHandlerAdapter() - Constructor for class org.springframework.web.socket.adapter.BinaryWebSocketHandlerAdapter
 

C

cancelHeartbeat() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
checkNativeSessionInitialized() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
checkOrigin(String) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
close() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
close(CloseStatus) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
close() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
Close the WebSocket connection with status 1000, i.e.
close(CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
Close the WebSocket connection with the given close status.
close() - Method in interface org.springframework.web.socket.WebSocketSession
Close the WebSocket connection with status 1000, i.e.
close(CloseStatus) - Method in interface org.springframework.web.socket.WebSocketSession
Close the WebSocket connection with the given close status.
closeConnection() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
 
closeConnection() - Method in class org.springframework.web.socket.client.endpoint.AnnotatedEndpointConnectionManager
 
closeConnection() - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
closeConnection() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
 
closeFrame(int, String) - Static method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
closeFrameAnotherConnectionOpen() - Static method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
closeFrameGoAway() - Static method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
closeInternal(CloseStatus) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
closeInternal(CloseStatus) - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
closeInternal(CloseStatus) - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
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 CloseStatus instance.
CloseStatus(int, String) - Constructor for class org.springframework.web.socket.CloseStatus
Create a new CloseStatus instance.
ConnectionManagerSupport - Class in org.springframework.web.socket.client
A base class for WebSocket connection managers.
ConnectionManagerSupport(String, Object...) - Constructor for class org.springframework.web.socket.client.ConnectionManagerSupport
 
ConvertingEncoderDecoderSupport<T,M> - Class in org.springframework.web.socket.adapter
Base class that can be used to implement a standard <code>Encoder</code> and/or <code>Decoder</code>.
ConvertingEncoderDecoderSupport() - Constructor for class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport
 
ConvertingEncoderDecoderSupport.BinaryDecoder<T> - Class in org.springframework.web.socket.adapter
A Binary <code>javax.websocket.Encoder</code> that delegates to Spring's conversion service.
ConvertingEncoderDecoderSupport.BinaryDecoder() - Constructor for class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport.BinaryDecoder
 
ConvertingEncoderDecoderSupport.BinaryEncoder<T> - Class in org.springframework.web.socket.adapter
A Binary <code>javax.websocket.Encoder</code> that delegates to Spring's conversion service.
ConvertingEncoderDecoderSupport.BinaryEncoder() - Constructor for class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport.BinaryEncoder
 
ConvertingEncoderDecoderSupport.TextDecoder<T> - Class in org.springframework.web.socket.adapter
A Text <code>javax.websocket.Encoder</code> that delegates to Spring's conversion service.
ConvertingEncoderDecoderSupport.TextDecoder() - Constructor for class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport.TextDecoder
 
ConvertingEncoderDecoderSupport.TextEncoder<T> - Class in org.springframework.web.socket.adapter
A Text <code>javax.websocket.Encoder</code> that delegates to Spring's conversion service.
ConvertingEncoderDecoderSupport.TextEncoder() - Constructor for class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport.TextEncoder
 
createSession(String, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.sockjs.transport.handler.EventSourceTransportHandler
 
createSession(String, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler
 
createSession(String, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.sockjs.transport.handler.JsonpPollingTransportHandler
 
createSession(String, WebSocketHandler, Map<String, Object>) - Method in interface org.springframework.web.socket.sockjs.transport.handler.SockJsSessionFactory
Create a new SockJS session.
createSession(String, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
 
createSession(String, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrPollingTransportHandler
 
createSession(String, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrStreamingTransportHandler
 

D

decode(M) - Method in class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport
 
decode(String) - Method in class org.springframework.web.socket.sockjs.support.frame.Jackson2SockJsMessageCodec
 
decode(String) - Method in class org.springframework.web.socket.sockjs.support.frame.JacksonSockJsMessageCodec
 
decode(String) - Method in interface org.springframework.web.socket.sockjs.support.frame.SockJsMessageCodec
Decode the given SockJS message frame.
decodeInputStream(InputStream) - Method in class org.springframework.web.socket.sockjs.support.frame.Jackson2SockJsMessageCodec
 
decodeInputStream(InputStream) - Method in class org.springframework.web.socket.sockjs.support.frame.JacksonSockJsMessageCodec
 
decodeInputStream(InputStream) - Method in interface org.springframework.web.socket.sockjs.support.frame.SockJsMessageCodec
Decode the given SockJS message frame.
decorateWebSocketHandler(WebSocketHandler) - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
Decorate the WebSocketHandler provided to the class constructor.
DefaultHandshakeHandler - Class in org.springframework.web.socket.server
A default HandshakeHandler implementation.
DefaultHandshakeHandler() - Constructor for class org.springframework.web.socket.server.DefaultHandshakeHandler
Default constructor that auto-detects and instantiates a RequestUpgradeStrategy suitable for the runtime container.
DefaultHandshakeHandler(RequestUpgradeStrategy) - Constructor for class org.springframework.web.socket.server.DefaultHandshakeHandler
A constructor that accepts a runtime specific RequestUpgradeStrategy.
DefaultSockJsService - Class in org.springframework.web.socket.sockjs.transport.handler
A default implementation of SockJsService adding support for transport handling and session management.
DefaultSockJsService(TaskScheduler) - Constructor for class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
Create an instance with default transport handler types.
DefaultSockJsService(TaskScheduler, Collection<TransportHandler>, TransportHandler...) - Constructor for class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
Create an instance by overriding or replacing completely the default transport handler types.
defaultSockJsTaskScheduler() - Method in class org.springframework.web.socket.server.config.WebSocketConfigurationSupport
The default TaskScheduler to use if none is configured via SockJsServiceRegistration#setTaskScheduler()
delegateConnectionClosed(CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
Invoked in reaction to the underlying connection being closed by the remote side (or the WebSocket container) in order to perform cleanup and notify the WebSocketHandler.
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.server.config
A variation of WebSocketConfigurationSupport that detects implementations of WebSocketConfigurer in Spring configuration and invokes them in order to configure WebSocket request handling.
DelegatingWebSocketConfiguration() - Constructor for class org.springframework.web.socket.server.config.DelegatingWebSocketConfiguration
 
destroy() - Method in class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport
 
destroy(T) - Method in class org.springframework.web.socket.support.BeanCreatingHandlerProvider
 
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
 
disconnect(CloseStatus) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
 
doHandshake(WebSocketHandler, String, Object...) - Method in class org.springframework.web.socket.client.AbstractWebSocketClient
 
doHandshake(WebSocketHandler, HttpHeaders, URI) - Method in class org.springframework.web.socket.client.AbstractWebSocketClient
 
doHandshake(WebSocketHandler, String, Object...) - Method in class org.springframework.web.socket.client.jetty.JettyWebSocketClient
 
doHandshake(WebSocketHandler, String, Object...) - Method in interface org.springframework.web.socket.client.WebSocketClient
 
doHandshake(WebSocketHandler, HttpHeaders, URI) - Method in interface org.springframework.web.socket.client.WebSocketClient
 
doHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
 
doHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map<String, Object>) - Method in interface org.springframework.web.socket.server.HandshakeHandler
Initiate the handshake.
doHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
 
doHandshakeInternal(WebSocketHandler, HttpHeaders, URI, List<String>, Map<String, Object>) - Method in class org.springframework.web.socket.client.AbstractWebSocketClient
Perform the actual handshake to establish a connection to the server.
doHandshakeInternal(WebSocketHandler, HttpHeaders, URI, List<String>, Map<String, Object>) - Method in class org.springframework.web.socket.client.endpoint.StandardWebSocketClient
 
doHandshakeInternal(WebSocketHandler, HttpHeaders, URI, List<String>, Map<String, Object>) - Method in class org.springframework.web.socket.client.jetty.JettyWebSocketClient
 

E

EnableWebSocket - Annotation Type in org.springframework.web.socket.server.config
Add this annotation to an @Configuration class to configure processing WebSocket requests:
 @Configuration
 @EnableWebSocket
 public class MyWebSocketConfig {

 }
encode(T) - Method in class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport
 
encode(String[]) - Method in class org.springframework.web.socket.sockjs.support.frame.AbstractSockJsMessageCodec
 
encode(String[]) - Method in interface org.springframework.web.socket.sockjs.support.frame.SockJsMessageCodec
Encode the given messages as a SockJS message frame.
EndpointConnectionManager - Class in org.springframework.web.socket.client.endpoint
A WebSocket connection manager that is given a URI, an <code>Endpoint</code>, connects to a WebSocket server through the ConnectionManagerSupport.start() and ConnectionManagerSupport.stop() methods.
EndpointConnectionManager(Endpoint, String, Object...) - Constructor for class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
EndpointConnectionManager(Class<? extends Endpoint>, String, Object...) - Constructor for class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
equals(Object) - Method in class org.springframework.web.socket.CloseStatus
 
equals(Object) - Method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
equals(Object) - Method in class org.springframework.web.socket.WebSocketMessage
 
equalsCode(CloseStatus) - Method in class org.springframework.web.socket.CloseStatus
 
EventSourceTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
A TransportHandler for sending messages via Server-Sent events: http://dev.w3.org/html5/eventsource/.
EventSourceTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.EventSourceTransportHandler
 
ExceptionWebSocketHandlerDecorator - Class in org.springframework.web.socket.support
An exception handling WebSocketHandlerDecorator.
ExceptionWebSocketHandlerDecorator(WebSocketHandler) - Constructor for class org.springframework.web.socket.support.ExceptionWebSocketHandlerDecorator
 

F

flushCache() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
Only called if the connection is currently active
flushCache() - Method in class org.springframework.web.socket.sockjs.transport.session.PollingSockJsSession
 
flushCache() - Method in class org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession
 
format(SockJsFrame) - Method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame.DefaultFrameFormat
 
format(SockJsFrame) - Method in interface org.springframework.web.socket.sockjs.support.frame.SockJsFrame.FrameFormat
 
fromValue(String) - Static method in enum org.springframework.web.socket.sockjs.transport.TransportType
 

G

getAcceptedProtocol() - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
getAcceptedProtocol() - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
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 or null if none was specified or negotiated successfully.
getApplicationContext() - Method in class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport
Returns the active <code>ApplicationContext</code>.
getAsyncSendTimeout() - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
getAsyncSendTimeout() - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
getByteArray() - Method in class org.springframework.web.socket.BinaryMessage
Returns access to the message payload as a byte array.
getCallbackParam(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler
 
getCode() - Method in class org.springframework.web.socket.CloseStatus
Returns the status code.
getConfigurator() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getContainer(HttpServletRequest) - Method in class org.springframework.web.socket.server.support.TomcatRequestUpgradeStrategy
 
getContent() - Method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
getContentBytes() - Method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
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.JsonpPollingTransportHandler
 
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.ConvertingEncoderDecoderSupport
Strategy method used to obtain the <code>ConversionService</code>.
getDecoders() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getDefaultTransportHandlers() - Method in class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
 
getDelegate() - Method in class org.springframework.web.socket.support.WebSocketHandlerDecorator
 
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.endpoint.ServerEndpointRegistration
 
getEndpoint() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getEndpointClass() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getEndpointInstance(Class<T>) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getEndpointInstance(Class<T>) - Method in class org.springframework.web.socket.server.endpoint.SpringConfigurator
 
getExtensions() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
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.JsonpPollingTransportHandler
 
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.support.BeanCreatingHandlerProvider
 
getHandlerType() - Method in class org.springframework.web.socket.support.BeanCreatingHandlerProvider
 
getHandshakeAttributes() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
getHandshakeAttributes() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
getHandshakeAttributes() - Method in interface org.springframework.web.socket.WebSocketSession
Handshake request specific attributes.
getHandshakeHandler() - Method in class org.springframework.web.socket.server.config.WebSocketHandlerRegistration
 
getHandshakeHeaders() - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
getHandshakeHeaders() - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
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.
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.handler.DefaultSockJsService
Return the configured WebSocket handshake request interceptors.
getHeaders() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
Return the default headers for the WebSocket handshake request.
getHeartbeatTime() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
 
getHeartbeatTime() - Method in interface org.springframework.web.socket.sockjs.transport.session.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.
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.session.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 org.springframework.web.socket.sockjs.transport.TransportType
The HTTP method for this transport.
getId() - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
getId() - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
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.
getLastHandler() - Method in class org.springframework.web.socket.support.WebSocketHandlerDecorator
 
getLocalAddress() - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
getLocalAddress() - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
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.
getMaxBinaryMessageBufferSize() - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
getMaxBinaryMessageBufferSize() - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
getMaxSessionIdleTimeout() - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
getMaxSessionIdleTimeout() - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
getMaxTextMessageBufferSize() - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
getMaxTextMessageBufferSize() - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
getMessageCache() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
getMessageCodec() - Method in class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
 
getMessageCodec() - Method in interface org.springframework.web.socket.sockjs.transport.session.SockJsServiceConfig
The codec to use for encoding and decoding SockJS messages.
getMessageType() - Method in class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport
Returns the websocket message type.
getName() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
 
getNativeSession() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
getNativeSession(Class<R>) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
getNativeSession() - Method in interface org.springframework.web.socket.adapter.NativeWebSocketSession
Return the underlying native WebSocketSession, if available.
getNativeSession(Class<T>) - Method in interface org.springframework.web.socket.adapter.NativeWebSocketSession
Return the underlying native WebSocketSession, if available.
getNativeSession() - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
 
getNativeSession(Class<T>) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
 
getNegotiatedExtensions(List<Extension>, List<Extension>) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getNegotiatedSubprotocol(List<String>, List<String>) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getObject() - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
getObject() - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
getObjectType() - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
getObjectType() - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
getOrigin() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
 
getPath() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getPayload() - Method in class org.springframework.web.socket.WebSocketMessage
Returns the message payload.
getPayloadSize() - Method in class org.springframework.web.socket.BinaryMessage
 
getPayloadSize() - Method in class org.springframework.web.socket.PingMessage
 
getPayloadSize() - Method in class org.springframework.web.socket.PongMessage
 
getPayloadSize() - Method in class org.springframework.web.socket.TextMessage
 
getPayloadSize() - Method in class org.springframework.web.socket.WebSocketMessage
 
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 class org.springframework.web.socket.client.jetty.JettyWebSocketClient
 
getPrincipal() - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
getPrincipal() - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
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 Principal instance containing the name of the authenticated user.
getReason() - Method in class org.springframework.web.socket.CloseStatus
Returns the reason or null.
getRegistrations() - Method in class org.springframework.web.socket.server.config.WebSocketHandlerRegistry
 
getRemoteAddress() - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
getRemoteAddress() - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
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.
getRequest() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
getResponse() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
getResponseStatus() - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
 
getResponseStatus() - Method in class org.springframework.web.socket.sockjs.transport.handler.JsonpReceivingTransportHandler
 
getResponseStatus() - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrReceivingTransportHandler
 
getServerContainer() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointExporter
 
getSockJsClientLibraryUrl() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
The URL to the SockJS JavaScript client library.
getSockJsConfig() - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
 
getSockJsService(String[]) - Method in class org.springframework.web.socket.server.config.SockJsServiceRegistration
 
getSockJsService() - Method in class org.springframework.web.socket.sockjs.SockJsHttpRequestHandler
Return the SockJsService.
getSockJsServiceConfig() - Method in class org.springframework.web.socket.sockjs.transport.handler.TransportHandlerSupport
 
getSockJsServiceConfig() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
getSockJsSessionId() - Method in exception org.springframework.web.socket.sockjs.SockJsException
 
getStreamBytesLimit() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
 
getStreamBytesLimit() - Method in interface org.springframework.web.socket.sockjs.transport.session.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.client.WebSocketConnectionManager
Return the configured sub-protocols to use.
getSubprotocols() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getSupportedProtocols() - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
Return the list of supported sub-protocols.
getSupportedVerions() - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
 
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.support.GlassFishRequestUpgradeStrategy
 
getSupportedVersions() - Method in class org.springframework.web.socket.server.support.JettyRequestUpgradeStrategy
 
getSupportedVersions() - Method in class org.springframework.web.socket.server.support.TomcatRequestUpgradeStrategy
 
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.session.SockJsServiceConfig
A scheduler instance to use for scheduling heart-beat messages.
getTimeSinceLastActive() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
Return the time since the session was last active, or otherwise if the session is new, the time since the session was created.
getTransportHandlers() - Method in class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
 
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.JsonpPollingTransportHandler
 
getTransportType() - Method in class org.springframework.web.socket.sockjs.transport.handler.JsonpReceivingTransportHandler
 
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
 
getType() - Method in class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport
Returns the type being converted.
getUndeliveredMessages() - Method in exception org.springframework.web.socket.sockjs.SockJsMessageDeliveryException
 
getUri() - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
getUri() - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
getUri() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
 
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.
getUser() - Method in class org.springframework.web.socket.client.jetty.JettyWebSocketClient
 
getUserProperties() - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
getWebSocketContainer() - Method in class org.springframework.web.socket.client.endpoint.AnnotatedEndpointConnectionManager
 
getWebSocketContainer() - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
getWebSocketHandler() - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
Return the WebSocketHandler.
getWebSocketHandler() - Method in class org.springframework.web.socket.sockjs.SockJsHttpRequestHandler
Return the WebSocketHandler.
GlassFishRequestUpgradeStrategy - Class in org.springframework.web.socket.server.support
GlassFish support for upgrading a request during a WebSocket handshake.
GlassFishRequestUpgradeStrategy() - Constructor for class org.springframework.web.socket.server.support.GlassFishRequestUpgradeStrategy
 
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.adapter.TextWebSocketHandlerAdapter
 
handleBinaryMessage(WebSocketSession, BinaryMessage) - Method in class org.springframework.web.socket.adapter.WebSocketHandlerAdapter
 
handleInvalidConnectHeader(ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
 
handleInvalidUpgradeHeader(ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
 
handleMessage(WebSocketSession, WebSocketMessage<?>) - Method in class org.springframework.web.socket.adapter.WebSocketHandlerAdapter
 
handleMessage(TextMessage, WebSocketSession) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
 
handleMessage(WebSocketSession, WebSocketMessage<?>) - Method in class org.springframework.web.socket.support.ExceptionWebSocketHandlerDecorator
 
handleMessage(WebSocketSession, WebSocketMessage<?>) - Method in class org.springframework.web.socket.support.LoggingWebSocketHandlerDecorator
 
handleMessage(WebSocketSession, WebSocketMessage<?>) - Method in class org.springframework.web.socket.support.PerConnectionWebSocketHandler
 
handleMessage(WebSocketSession, WebSocketMessage<?>) - Method in class org.springframework.web.socket.support.WebSocketHandlerDecorator
 
handleMessage(WebSocketSession, WebSocketMessage<?>) - Method in interface org.springframework.web.socket.WebSocketHandler
Invoked when a new WebSocket message arrives.
handlePongMessage(WebSocketSession, PongMessage) - Method in class org.springframework.web.socket.adapter.WebSocketHandlerAdapter
 
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.handler.DefaultSockJsService
 
handleRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
 
handleRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.socket.sockjs.SockJsHttpRequestHandler
 
handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler) - Method in interface org.springframework.web.socket.sockjs.SockJsService
Process a SockJS HTTP request.
handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
Process a SockJS HTTP request.
handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, WebSocketSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
 
handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, WebSocketSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler
 
handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, WebSocketSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler
 
handleRequest(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, WebSocketSession) - Method in interface org.springframework.web.socket.sockjs.transport.TransportHandler
Handle the given request and delegate messages to the provided WebSocketHandler.
handleRequestInternal(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, AbstractHttpSockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
 
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, AbstractHttpSockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.JsonpPollingTransportHandler
 
handleRequestInternal(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, AbstractHttpSockJsSession) - Method in class org.springframework.web.socket.sockjs.transport.handler.JsonpReceivingTransportHandler
 
handleTextMessage(WebSocketSession, TextMessage) - Method in class org.springframework.web.socket.adapter.BinaryWebSocketHandlerAdapter
 
handleTextMessage(WebSocketSession, TextMessage) - Method in class org.springframework.web.socket.adapter.WebSocketHandlerAdapter
 
handleTextMessage(WebSocketSession, TextMessage) - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
 
handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.adapter.WebSocketHandlerAdapter
 
handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
 
handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.support.ExceptionWebSocketHandlerDecorator
 
handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.support.LoggingWebSocketHandlerDecorator
 
handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.support.PerConnectionWebSocketHandler
 
handleTransportError(WebSocketSession, Throwable) - Method in class org.springframework.web.socket.support.WebSocketHandlerDecorator
 
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.handler.DefaultSockJsService
 
handleWebSocketVersionNotSupported(ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
 
HandshakeFailureException - Exception in org.springframework.web.socket.server
Thrown when handshake processing failed to complete due to an internal, unrecoverable error.
HandshakeFailureException(String, Throwable) - Constructor for exception org.springframework.web.socket.server.HandshakeFailureException
Constructor with message and root cause.
HandshakeFailureException(String) - Constructor for exception org.springframework.web.socket.server.HandshakeFailureException
Constructor without a message.
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<HandshakeInterceptor>, WebSocketHandler) - Constructor for class org.springframework.web.socket.server.support.HandshakeInterceptorChain
 
hashCode() - Method in class org.springframework.web.socket.CloseStatus
 
hashCode() - Method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
hashCode() - Method in class org.springframework.web.socket.WebSocketMessage
 
heartbeatFrame() - Static method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
HtmlFileTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
HtmlFileTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler
 
HttpSessionHandshakeInterceptor - Class in org.springframework.web.socket.server.support
An interceptor to copy HTTP session attributes into the map of "handshake attributes" made available through WebSocketSession.getHandshakeAttributes().
HttpSessionHandshakeInterceptor() - Constructor for class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
A constructor for copying all available HTTP session attributes.
HttpSessionHandshakeInterceptor(Collection<String>) - Constructor for class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
A constructor for copying a subset of HTTP session attributes.

I

init(EndpointConfig) - Method in class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport
 
initializeDelegateSession(WebSocketSession) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
 
initializeNativeSession(T) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
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.client.jetty.JettyWebSocketClient
 
isClosed() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
isConnected() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
 
isConnected() - Method in class org.springframework.web.socket.client.endpoint.AnnotatedEndpointConnectionManager
 
isConnected() - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
isConnected() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
 
isDummySessionCookieEnabled() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
Whether setting JSESSIONID cookie is necessary.
isLast() - Method in class org.springframework.web.socket.WebSocketMessage
Whether this is the last part of a message, when partial message support on a WebSocketHandler is enabled.
isNew() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
isOpen() - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
isOpen() - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
isOpen() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
isOpen() - Method in interface org.springframework.web.socket.WebSocketSession
Return whether the connection is still open.
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.client.jetty.JettyWebSocketClient
 
isSingleton() - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
isSingleton() - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
isValidOrigin(ServerHttpRequest) - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
 
isValidTransportType(String) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
Validate whether the given transport String extracted from the URL is a valid SockJS transport type (regardless of whether a transport handler is configured).
isValidTransportType(String) - Method in class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
 
isWebSocketEnabled() - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
Whether WebSocket transport is enabled.
isWebSocketVersionSupported(ServerHttpRequest) - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
 

J

Jackson2SockJsMessageCodec - Class in org.springframework.web.socket.sockjs.support.frame
A Jackson 2 codec for encoding and decoding SockJS messages.
Jackson2SockJsMessageCodec() - Constructor for class org.springframework.web.socket.sockjs.support.frame.Jackson2SockJsMessageCodec
 
Jackson2SockJsMessageCodec(ObjectMapper) - Constructor for class org.springframework.web.socket.sockjs.support.frame.Jackson2SockJsMessageCodec
 
JacksonSockJsMessageCodec - Class in org.springframework.web.socket.sockjs.support.frame
A Jackson 1.x codec for encoding and decoding SockJS messages.
JacksonSockJsMessageCodec() - Constructor for class org.springframework.web.socket.sockjs.support.frame.JacksonSockJsMessageCodec
 
JacksonSockJsMessageCodec(ObjectMapper) - Constructor for class org.springframework.web.socket.sockjs.support.frame.JacksonSockJsMessageCodec
 
JettyRequestUpgradeStrategy - Class in org.springframework.web.socket.server.support
RequestUpgradeStrategy for use with Jetty 9.
JettyRequestUpgradeStrategy() - Constructor for class org.springframework.web.socket.server.support.JettyRequestUpgradeStrategy
Default constructor that creates <code>WebSocketServerFactory</code> through its default constructor thus using a default <code>WebSocketPolicy</code>.
JettyRequestUpgradeStrategy(WebSocketServerFactory) - Constructor for class org.springframework.web.socket.server.support.JettyRequestUpgradeStrategy
A constructor accepting a <code>WebSocketServerFactory</code>.
JettyWebSocketClient - Class in org.springframework.web.socket.client.jetty
Initiates WebSocket requests to a WebSocket server programatically through the Jetty WebSocket API.
JettyWebSocketClient() - Constructor for class org.springframework.web.socket.client.jetty.JettyWebSocketClient
Default constructor that creates an instance of <code>WebSocketClient</code> with default settings.
JettyWebSocketClient(WebSocketClient) - Constructor for class org.springframework.web.socket.client.jetty.JettyWebSocketClient
Constructor that accepts a pre-configured <code>WebSocketClient</code>.
JettyWebSocketHandlerAdapter - Class in org.springframework.web.socket.adapter
Adapts WebSocketHandler to the Jetty 9 WebSocket API.
JettyWebSocketHandlerAdapter(WebSocketHandler, JettyWebSocketSession) - Constructor for class org.springframework.web.socket.adapter.JettyWebSocketHandlerAdapter
 
JettyWebSocketSession - Class in org.springframework.web.socket.adapter
A WebSocketSession for use with the Jetty 9 WebSocket API.
JettyWebSocketSession(Principal, Map<String, Object>) - Constructor for class org.springframework.web.socket.adapter.JettyWebSocketSession
Class constructor.
JsonpPollingTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
A TransportHandler that sends messages via JSONP polling.
JsonpPollingTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.JsonpPollingTransportHandler
 
JsonpReceivingTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
A TransportHandler that receives messages over HTTP.
JsonpReceivingTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.JsonpReceivingTransportHandler
 

L

logger - Variable in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
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.DefaultHandshakeHandler
 
logger - Variable in class org.springframework.web.socket.server.support.AbstractStandardUpgradeStrategy
 
logger - Variable in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
 
logger - Variable in class org.springframework.web.socket.sockjs.transport.handler.TransportHandlerSupport
 
logger - Variable in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
LoggingWebSocketHandlerDecorator - Class in org.springframework.web.socket.support
A WebSocketHandlerDecorator that adds logging to WebSocket lifecycle events.
LoggingWebSocketHandlerDecorator(WebSocketHandler) - Constructor for class org.springframework.web.socket.support.LoggingWebSocketHandlerDecorator
 

M

messageFrame(SockJsMessageCodec, String...) - Static method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 

N

NativeWebSocketSession - Interface in org.springframework.web.socket.adapter
A WebSocketSession that 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 (e.g., an endpoint that understands only text data MAY send this if it receives a binary message)."

O

onClose(Session, CloseReason) - Method in class org.springframework.web.socket.adapter.StandardWebSocketHandlerAdapter
 
onError(Session, Throwable) - Method in class org.springframework.web.socket.adapter.StandardWebSocketHandlerAdapter
 
onOpen(Session, EndpointConfig) - Method in class org.springframework.web.socket.adapter.StandardWebSocketHandlerAdapter
 
onWebSocketBinary(byte[], int, int) - Method in class org.springframework.web.socket.adapter.JettyWebSocketHandlerAdapter
 
onWebSocketClose(int, String) - Method in class org.springframework.web.socket.adapter.JettyWebSocketHandlerAdapter
 
onWebSocketConnect(Session) - Method in class org.springframework.web.socket.adapter.JettyWebSocketHandlerAdapter
 
onWebSocketError(Throwable) - Method in class org.springframework.web.socket.adapter.JettyWebSocketHandlerAdapter
 
onWebSocketText(String) - Method in class org.springframework.web.socket.adapter.JettyWebSocketHandlerAdapter
 
openConnection() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
 
openConnection() - Method in class org.springframework.web.socket.client.endpoint.AnnotatedEndpointConnectionManager
 
openConnection() - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
openConnection() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
 
openFrame() - Static method in class org.springframework.web.socket.sockjs.support.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 classes to and from WebSocket implementations.
org.springframework.web.socket.client - package org.springframework.web.socket.client
Client-side abstractions for WebSocket applications.
org.springframework.web.socket.client.endpoint - package org.springframework.web.socket.client.endpoint
Client-side classes for use with standard Java WebSocket endpoints.
org.springframework.web.socket.client.jetty - package org.springframework.web.socket.client.jetty
 
org.springframework.web.socket.server - package org.springframework.web.socket.server
Server-side abstractions for WebSocket interactions.
org.springframework.web.socket.server.config - package org.springframework.web.socket.server.config
Configuration support for WebSocket request handling.
org.springframework.web.socket.server.endpoint - package org.springframework.web.socket.server.endpoint
Server classes for use with standard Java WebSocket endpoints providing configuration and initialization support.
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.support - package org.springframework.web.socket.sockjs.support
Support classes for SockJS including an AbstractSockJsService implementation.
org.springframework.web.socket.sockjs.support.frame - package org.springframework.web.socket.sockjs.support.frame
Support classes for creating SockJS frames including the encoding and decoding of SockJS message frames.
org.springframework.web.socket.sockjs.transport - package org.springframework.web.socket.sockjs.transport
Server-side support for SockJS transports including TransportHandler implementations for processing incoming requests, their session counterparts for sending messages over the various transports, and DefaultSockJsService.
org.springframework.web.socket.sockjs.transport.handler - package org.springframework.web.socket.sockjs.transport.handler
TransportHandler implementation classes as well as a concrete SockJsService.
org.springframework.web.socket.sockjs.transport.session - package org.springframework.web.socket.sockjs.transport.session
SockJS specific implementations of WebSocketSession.
org.springframework.web.socket.support - package org.springframework.web.socket.support
WebSocket-related classes used by client and server code such as a WebSocketHandlerDecorator and sub-class implementations, as well as a PerConnectionWebSocketHandler.

P

PerConnectionWebSocketHandler - Class in org.springframework.web.socket.support
A WebSocketHandler that initializes and destroys a WebSocketHandler instance for each WebSocket connection and delegates all other methods to it.
PerConnectionWebSocketHandler(Class<? extends WebSocketHandler>) - Constructor for class org.springframework.web.socket.support.PerConnectionWebSocketHandler
 
PerConnectionWebSocketHandler(Class<? extends WebSocketHandler>, boolean) - Constructor for class org.springframework.web.socket.support.PerConnectionWebSocketHandler
 
PingMessage - Class in org.springframework.web.socket
A WebSocket ping message.
PingMessage(ByteBuffer) - Constructor for class org.springframework.web.socket.PingMessage
 
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<String, Object>) - Constructor for class org.springframework.web.socket.sockjs.transport.session.PollingSockJsSession
 
PongMessage - Class in org.springframework.web.socket
A WebSocket pong message.
PongMessage(ByteBuffer) - Constructor for class org.springframework.web.socket.PongMessage
 
postProcessAfterInitialization(Object, String) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointExporter
 
postProcessBeforeInitialization(Object, String) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointExporter
 
preProcessContent(String) - Method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame.DefaultFrameFormat
 
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."

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.JsonpReceivingTransportHandler
 
readMessages(ServerHttpRequest) - Method in class org.springframework.web.socket.sockjs.transport.handler.XhrReceivingTransportHandler
 
registerWebSocketHandlers(WebSocketHandlerRegistry) - Method in class org.springframework.web.socket.server.config.DelegatingWebSocketConfiguration
 
registerWebSocketHandlers(WebSocketHandlerRegistry) - Method in class org.springframework.web.socket.server.config.WebSocketConfigurationSupport
 
registerWebSocketHandlers(WebSocketHandlerRegistry) - Method in interface org.springframework.web.socket.server.config.WebSocketConfigurer
Register <code>WebSocketHandler</code>s including SockJS fallback options if desired.
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.
resetRequest() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
resetRequest() - Method in class org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession
 

S

scheduleHeartbeat() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
selectProtocol(List<String>) - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
 
sendBinaryMessage(BinaryMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
sendBinaryMessage(BinaryMessage) - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
sendBinaryMessage(BinaryMessage) - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
sendHeartbeat() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
sendMessage(WebSocketMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
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 TextMessage or BinaryMessage.
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, List<HttpMethod>) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
 
sendPingMessage(PingMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
sendPingMessage(PingMessage) - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
sendPingMessage(PingMessage) - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
sendPongMessage(PongMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
sendPongMessage(PongMessage) - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
sendPongMessage(PongMessage) - Method in class org.springframework.web.socket.adapter.StandardWebSocketSession
 
sendsNoCacheInstruction() - Method in enum org.springframework.web.socket.sockjs.transport.TransportType
 
sendsSessionCookie() - Method in enum org.springframework.web.socket.sockjs.transport.TransportType
 
sendTextMessage(TextMessage) - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
sendTextMessage(TextMessage) - Method in class org.springframework.web.socket.adapter.JettyWebSocketSession
 
sendTextMessage(TextMessage) - Method in class org.springframework.web.socket.adapter.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.endpoint
Detects beans of type <code>ServerEndpointConfig</code> and registers with the standard Java WebSocket runtime.
ServerEndpointExporter() - Constructor for class org.springframework.web.socket.server.endpoint.ServerEndpointExporter
 
ServerEndpointRegistration - Class in org.springframework.web.socket.server.endpoint
An implementation of <code>ServerEndpointConfig</code> for use in Spring applications.
ServerEndpointRegistration(String, Class<? extends Endpoint>) - Constructor for class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
Create a new ServerEndpointRegistration instance from an javax.webscoket.Endpoint class.
ServerEndpointRegistration(String, Endpoint) - Constructor for class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
Create a new ServerEndpointRegistration instance from an javax.webscoket.Endpoint instance.
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.endpoint
A FactoryBean for configuring <code>ServerContainer</code>.
ServletServerContainerFactoryBean() - Constructor for class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
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.
setAnnotatedEndpointClasses(Class<?>...) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointExporter
Explicitly list annotated endpoint types that should be registered on startup.
setApplicationContext(ApplicationContext) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointExporter
 
setAsyncSendTimeout(long) - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
setAsyncSendTimeout(long) - Method in class org.springframework.web.socket.server.endpoint.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.client.jetty.JettyWebSocketClient
 
setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.client.endpoint.AnnotatedEndpointConnectionManager
 
setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.support.BeanCreatingHandlerProvider
 
setBeanFactory(BeanFactory) - Method in class org.springframework.web.socket.support.PerConnectionWebSocketHandler
 
setClientLibraryUrl(String) - Method in class org.springframework.web.socket.server.config.SockJsServiceRegistration
Transports which don't support cross-domain communication natively (e.g.
setConfigurator(ClientEndpointConfig.Configurator) - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
setConfigurers(List<WebSocketConfigurer>) - Method in class org.springframework.web.socket.server.config.DelegatingWebSocketConfiguration
 
setDecoders(List<Class<? extends Decoder>>) - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
setDecoders(List<Class<? extends Decoder>>) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
setDisconnectDelay(long) - Method in class org.springframework.web.socket.server.config.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.
setDummySessionCookieEnabled(boolean) - Method in class org.springframework.web.socket.server.config.SockJsServiceRegistration
Some load balancers do sticky sessions, but only if there is a "JSESSIONID" cookie.
setDummySessionCookieEnabled(boolean) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
Some load balancers do sticky sessions, but only if there is a "JSESSIONID" cookie.
setEncoders(List<Class<? extends Encoder>>) - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
setEncoders(List<Class<? extends Encoder>>) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
setExtensions(Extension...) - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
setExtensions(List<Extension>) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
setHandshakeHandler(HandshakeHandler) - Method in class org.springframework.web.socket.server.config.WebSocketHandlerRegistration
 
setHandshakeHeaders(HttpHeaders) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
setHandshakeInterceptors(List<HandshakeInterceptor>) - Method in class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler
Configure one or more WebSocket handshake request interceptors.
setHandshakeInterceptors(List<HandshakeInterceptor>) - Method in class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
Configure one or more WebSocket handshake request interceptors.
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.server.config.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
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.
setHttpMessageCacheSize(int) - Method in class org.springframework.web.socket.server.config.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.
setInitialRequest(ServerHttpRequest, ServerHttpResponse, SockJsFrame.FrameFormat) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
setInitialRequest(ServerHttpRequest, ServerHttpResponse, SockJsFrame.FrameFormat) - Method in class org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession
 
setInterceptors(HandshakeInterceptor...) - Method in class org.springframework.web.socket.server.config.SockJsServiceRegistration
 
setLocalAddress(InetSocketAddress) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
setLongPollingRequest(ServerHttpRequest, ServerHttpResponse, SockJsFrame.FrameFormat) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
setMaxBinaryMessageBufferSize(int) - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
setMaxBinaryMessageBufferSize(int) - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
setMaxSessionIdleTimeout(long) - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
setMaxSessionIdleTimeout(long) - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
setMaxTextMessageBufferSize(int) - Method in class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
setMaxTextMessageBufferSize(int) - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
setMessageCodec(SockJsMessageCodec) - Method in class org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService
The codec to use for encoding and decoding SockJS messages.
setName(String) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
A unique name for the service mainly for logging purposes.
setOrder(int) - Method in class org.springframework.web.socket.server.config.WebSocketHandlerRegistry
Specify the order to use for WebSocket <code>HandlerMapping</code> relative to other handler mappings configured in the Spring MVC configuration.
setOrigin(String) - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
Set the origin to use.
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.client.jetty.JettyWebSocketClient
 
setPrincipal(Principal) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
setRemoteAddress(InetSocketAddress) - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 
setServletContext(ServletContext) - Method in class org.springframework.web.socket.server.endpoint.ServletServerContainerFactoryBean
 
setSockJsClientLibraryUrl(String) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
Transports which don't support cross-domain communication natively (e.g.
setSockJsServiceConfiguration(SockJsServiceConfig) - Method in class org.springframework.web.socket.sockjs.transport.handler.TransportHandlerSupport
 
setStreamBytesLimit(int) - Method in class org.springframework.web.socket.server.config.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<String>) - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
Set the sub-protocols to use.
setSubprotocols(List<String>) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
setSupportedProtocols(String...) - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
setSupportedProtocols(String...) - Method in class org.springframework.web.socket.server.DefaultHandshakeHandler
Use this property to configure a list of sub-protocols that are supported.
setTaskScheduler(TaskScheduler) - Method in class org.springframework.web.socket.server.config.SockJsServiceRegistration
 
setTransportHandlerOverrides(TransportHandler...) - Method in class org.springframework.web.socket.server.config.SockJsServiceRegistration
 
setTransportHandlers(TransportHandler...) - Method in class org.springframework.web.socket.server.config.SockJsServiceRegistration
 
setUserProperties(Map<String, Object>) - Method in class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
 
setValidSockJsPrefixes(String...) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
Use this property to configure one or more prefixes that this SockJS service is allowed to serve.
setWebSocketContainer(WebSocketContainer) - Method in class org.springframework.web.socket.client.endpoint.AnnotatedEndpointConnectionManager
 
setWebSocketContainer(WebSocketContainer) - Method in class org.springframework.web.socket.client.endpoint.EndpointConnectionManager
 
setWebSocketEnabled(boolean) - Method in class org.springframework.web.socket.server.config.SockJsServiceRegistration
Some load balancers don't support WebSocket.
setWebSocketsEnabled(boolean) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
Some load balancers don't support websockets.
SockJsException - Exception in org.springframework.web.socket.sockjs
Base class for exceptions raised while processing SockJS HTTP requests.
SockJsException(String, Throwable) - Constructor for exception org.springframework.web.socket.sockjs.SockJsException
 
SockJsException(String, String, Throwable) - Constructor for exception org.springframework.web.socket.sockjs.SockJsException
 
SockJsFrame - Class in org.springframework.web.socket.sockjs.support.frame
Represents a SockJS frame and provides factory methods for creating SockJS frames.
SockJsFrame.DefaultFrameFormat - Class in org.springframework.web.socket.sockjs.support.frame
 
SockJsFrame.DefaultFrameFormat(String) - Constructor for class org.springframework.web.socket.sockjs.support.frame.SockJsFrame.DefaultFrameFormat
 
SockJsFrame.FrameFormat - Interface in org.springframework.web.socket.sockjs.support.frame
 
SockJsHttpRequestHandler - Class in org.springframework.web.socket.sockjs
An <code>HttpRequestHandler</code> that allows mapping a SockJsService to requests in a Servlet container.
SockJsHttpRequestHandler(SockJsService, WebSocketHandler) - Constructor for class org.springframework.web.socket.sockjs.SockJsHttpRequestHandler
SockJsMessageCodec - Interface in org.springframework.web.socket.sockjs.support.frame
Encode and decode messages to and from a SockJS message frame, essentially an array of JSON-encoded messages.
SockJsMessageDeliveryException - Exception 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>, Throwable) - Constructor for exception 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.session
Provides transport handling code with access to the SockJsService configuration options they need to have access to.
SockJsServiceRegistration - Class in org.springframework.web.socket.server.config
A helper class for configuring SockJS fallback options, typically used indirectly, in conjunction with @EnableWebSocket and WebSocketConfigurer.
SockJsServiceRegistration(TaskScheduler) - Constructor for class org.springframework.web.socket.server.config.SockJsServiceRegistration
 
SockJsSessionFactory - Interface in org.springframework.web.socket.sockjs.transport.handler
A factory for creating a SockJS session.
SockJsTransportFailureException - Exception in org.springframework.web.socket.sockjs
Indicates a serious failure that occurred in the SockJS implementation as opposed to in user code (e.g.
SockJsTransportFailureException(String, String, Throwable) - Constructor for exception org.springframework.web.socket.sockjs.SockJsTransportFailureException
 
SockJsWebSocketHandler - Class in org.springframework.web.socket.sockjs.transport.handler
An implementation of WebSocketHandler that adds SockJS messages frames, sends SockJS heartbeat messages, and delegates lifecycle events and messages to a target WebSocketHandler.
SockJsWebSocketHandler(SockJsServiceConfig, WebSocketHandler, WebSocketServerSockJsSession) - Constructor for class org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler
 
SpringConfigurator - Class in org.springframework.web.socket.server.endpoint
A <code>ServerEndpointConfig.Configurator</code> for initializing <code>ServerEndpoint</code>-annotated classes through Spring.
SpringConfigurator() - Constructor for class org.springframework.web.socket.server.endpoint.SpringConfigurator
 
StandardWebSocketClient - Class in org.springframework.web.socket.client.endpoint
Initiates WebSocket requests to a WebSocket server programatically through the standard Java WebSocket API.
StandardWebSocketClient() - Constructor for class org.springframework.web.socket.client.endpoint.StandardWebSocketClient
Default constructor that calls ContainerProvider.getWebSocketContainer() to obtain a <code>WebSocketContainer</code> instance.
StandardWebSocketClient(WebSocketContainer) - Constructor for class org.springframework.web.socket.client.endpoint.StandardWebSocketClient
Constructor that accepts a pre-configured <code>WebSocketContainer</code> instance.
StandardWebSocketHandlerAdapter - Class in org.springframework.web.socket.adapter
Adapts a WebSocketHandler to the standard WebSocket for Java API.
StandardWebSocketHandlerAdapter(WebSocketHandler, StandardWebSocketSession) - Constructor for class org.springframework.web.socket.adapter.StandardWebSocketHandlerAdapter
 
StandardWebSocketSession - Class in org.springframework.web.socket.adapter
A WebSocketSession for use with the standard WebSocket for Java API.
StandardWebSocketSession(HttpHeaders, Map<String, Object>, InetSocketAddress, InetSocketAddress) - Constructor for class org.springframework.web.socket.adapter.StandardWebSocketSession
Class constructor.
start() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
Start the websocket connection.
start() - Method in class org.springframework.web.socket.client.jetty.JettyWebSocketClient
 
startInternal() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
 
startInternal() - Method in class org.springframework.web.socket.client.WebSocketConnectionManager
 
stop() - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
 
stop(Runnable) - Method in class org.springframework.web.socket.client.ConnectionManagerSupport
 
stop() - Method in class org.springframework.web.socket.client.jetty.JettyWebSocketClient
 
stop(Runnable) - Method in class org.springframework.web.socket.client.jetty.JettyWebSocketClient
 
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<String, Object>) - Constructor for class org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession
 
supportsCors() - Method in enum org.springframework.web.socket.sockjs.transport.TransportType
 
supportsPartialMessages() - Method in class org.springframework.web.socket.adapter.WebSocketHandlerAdapter
 
supportsPartialMessages() - Method in class org.springframework.web.socket.support.PerConnectionWebSocketHandler
 
supportsPartialMessages() - Method in class org.springframework.web.socket.support.WebSocketHandlerDecorator
 
supportsPartialMessages() - Method in interface org.springframework.web.socket.WebSocketHandler
Whether the WebSocketHandler handles messages in parts.

T

TextMessage - Class in org.springframework.web.socket
A WebSocketMessage that contains a textual String payload.
TextMessage(CharSequence) - Constructor for class org.springframework.web.socket.TextMessage
Create a new TextMessage instance.
TextMessage(CharSequence, boolean) - Constructor for class org.springframework.web.socket.TextMessage
Create a new TextMessage instance.
TextWebSocketHandlerAdapter - Class in org.springframework.web.socket.adapter
A convenient base class for WebSocketHandler implementation that process text messages only.
TextWebSocketHandlerAdapter() - Constructor for class org.springframework.web.socket.adapter.TextWebSocketHandlerAdapter
 
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.
TomcatRequestUpgradeStrategy - Class in org.springframework.web.socket.server.support
Tomcat support for upgrading an HttpServletRequest during a WebSocket handshake.
TomcatRequestUpgradeStrategy() - Constructor for class org.springframework.web.socket.server.support.TomcatRequestUpgradeStrategy
 
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."
toString() - Method in class org.springframework.web.socket.adapter.AbstractWebSocketSesssion
 
toString() - Method in class org.springframework.web.socket.CloseStatus
 
toString() - Method in class org.springframework.web.socket.sockjs.support.frame.SockJsFrame
 
toString() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
 
toString() - Method in enum org.springframework.web.socket.sockjs.transport.TransportType
 
toString() - Method in class org.springframework.web.socket.support.BeanCreatingHandlerProvider
 
toString() - Method in class org.springframework.web.socket.support.PerConnectionWebSocketHandler
 
toString() - Method in class org.springframework.web.socket.support.WebSocketHandlerDecorator
 
toString() - Method in class org.springframework.web.socket.WebSocketMessage
 
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
 
toStringPayload() - Method in class org.springframework.web.socket.WebSocketMessage
 
TransportHandler - Interface in org.springframework.web.socket.sockjs.transport
Handle a SockJS session URL, i.e.
TransportHandlerSupport - Class in org.springframework.web.socket.sockjs.transport.handler
 
TransportHandlerSupport() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.TransportHandlerSupport
 
TransportType - Enum in org.springframework.web.socket.sockjs.transport
SockJS transport types.
tryCloseWithError(WebSocketSession, Throwable, Log) - Static method in class org.springframework.web.socket.support.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

updateLastActiveTime() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession
Should be invoked whenever the session becomes inactive.
upgrade(ServerHttpRequest, ServerHttpResponse, String, WebSocketHandler, Map<String, Object>) - Method in interface org.springframework.web.socket.server.RequestUpgradeStrategy
Perform runtime specific steps to complete the upgrade.
upgrade(ServerHttpRequest, ServerHttpResponse, String, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.server.support.AbstractStandardUpgradeStrategy
 
upgrade(ServerHttpRequest, ServerHttpResponse, String, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.web.socket.server.support.JettyRequestUpgradeStrategy
 
upgradeInternal(ServerHttpRequest, ServerHttpResponse, String, Endpoint) - Method in class org.springframework.web.socket.server.support.AbstractStandardUpgradeStrategy
 
upgradeInternal(ServerHttpRequest, ServerHttpResponse, String, Endpoint) - Method in class org.springframework.web.socket.server.support.GlassFishRequestUpgradeStrategy
 
upgradeInternal(ServerHttpRequest, ServerHttpResponse, String, Endpoint) - Method in class org.springframework.web.socket.server.support.TomcatRequestUpgradeStrategy
 

V

validateRequest(String, String, String) - Method in class org.springframework.web.socket.sockjs.support.AbstractSockJsService
 
value() - Method in enum org.springframework.web.socket.sockjs.transport.TransportType
 
valueOf(String) - Static method in enum org.springframework.web.socket.sockjs.transport.TransportType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.web.socket.sockjs.transport.TransportType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebSocketClient - Interface in org.springframework.web.socket.client
Contract for initiating a WebSocket request.
WebSocketConfigurationSupport - Class in org.springframework.web.socket.server.config
Configuration support for WebSocket request handling.
WebSocketConfigurationSupport() - Constructor for class org.springframework.web.socket.server.config.WebSocketConfigurationSupport
 
WebSocketConfigurer - Interface in org.springframework.web.socket.server.config
Defines callback methods to configure the WebSocket request handling via @EnableWebSocket.
WebSocketConnectFailureException - Exception in org.springframework.web.socket.client
Thrown when a WebSocket connection to a server could not be established.
WebSocketConnectFailureException(String, Throwable) - Constructor for exception org.springframework.web.socket.client.WebSocketConnectFailureException
 
WebSocketConnectFailureException(String) - Constructor for exception org.springframework.web.socket.client.WebSocketConnectFailureException
 
WebSocketConnectionManager - Class in org.springframework.web.socket.client
A WebSocket connection manager that is given a URI, a WebSocketClient, and a WebSocketHandler, connects to a WebSocket server through ConnectionManagerSupport.start() and ConnectionManagerSupport.stop() methods.
WebSocketConnectionManager(WebSocketClient, WebSocketHandler, String, Object...) - Constructor for class org.springframework.web.socket.client.WebSocketConnectionManager
 
WebSocketContainerFactoryBean - Class in org.springframework.web.socket.client.endpoint
A FactoryBean for creating and configuring a <code>WebSocketContainer</code> through Spring XML configuration.
WebSocketContainerFactoryBean() - Constructor for class org.springframework.web.socket.client.endpoint.WebSocketContainerFactoryBean
 
WebSocketHandler - Interface in org.springframework.web.socket
A handler for WebSocket messages and lifecycle events.
WebSocketHandlerAdapter - Class in org.springframework.web.socket.adapter
A convenient base class for WebSocketHandler implementation with empty methods.
WebSocketHandlerAdapter() - Constructor for class org.springframework.web.socket.adapter.WebSocketHandlerAdapter
 
WebSocketHandlerDecorator - Class in org.springframework.web.socket.support
 
WebSocketHandlerDecorator(WebSocketHandler) - Constructor for class org.springframework.web.socket.support.WebSocketHandlerDecorator
 
webSocketHandlerMapping() - Method in class org.springframework.web.socket.server.config.WebSocketConfigurationSupport
 
WebSocketHandlerRegistration - Class in org.springframework.web.socket.server.config
A helper class for configuring WebSocketHandler request handling including SockJS fallback options.
WebSocketHandlerRegistration(TaskScheduler) - Constructor for class org.springframework.web.socket.server.config.WebSocketHandlerRegistration
 
WebSocketHandlerRegistry - Class in org.springframework.web.socket.server.config
A helper class for configuring WebSocketHandler request handling.
WebSocketHandlerRegistry(ThreadPoolTaskScheduler) - Constructor for class org.springframework.web.socket.server.config.WebSocketHandlerRegistry
 
WebSocketHttpRequestHandler - Class in org.springframework.web.socket.server.support
A <code>HttpRequestHandler</code> for 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> - Class in org.springframework.web.socket
A message that can be handled or sent on a WebSocket connection.
WebSocketServerSockJsSession - Class in org.springframework.web.socket.sockjs.transport.session
A SockJS session for use with the WebSocket transport.
WebSocketServerSockJsSession(String, SockJsServiceConfig, WebSocketHandler, Map<String, Object>) - Constructor for class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
 
WebSocketSession - Interface in org.springframework.web.socket
A WebSocket session abstraction.
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
 
willDecode(M) - Method in class org.springframework.web.socket.adapter.ConvertingEncoderDecoderSupport
 
withReason(String) - Method in class org.springframework.web.socket.CloseStatus
Crate a new CloseStatus from this one with the specified reason.
withSockJS() - Method in class org.springframework.web.socket.server.config.WebSocketHandlerRegistration
 
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.StreamingSockJsSession
 
writeFrameInternal(SockJsFrame) - Method in class org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession
 
writePrelude() - Method in class org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession
 

X

XhrPollingTransportHandler - Class in org.springframework.web.socket.sockjs.transport.handler
A TransportHandler based 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 TransportHandler that 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 TransportHandler that sends messages over an HTTP streaming request.
XhrStreamingTransportHandler() - Constructor for class org.springframework.web.socket.sockjs.transport.handler.XhrStreamingTransportHandler
 
A B C D E F G H I J L M N O P R S T U V W X 
spring-websocket