- 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
-
- 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
-
- 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."
- 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
-
- 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
-
- ServerEndpointRegistration(String, Endpoint) - Constructor for class org.springframework.web.socket.server.endpoint.ServerEndpointRegistration
-
- 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
-
- 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
-
- StandardWebSocketHandlerAdapter(WebSocketHandler, StandardWebSocketSession) - Constructor for class org.springframework.web.socket.adapter.StandardWebSocketHandlerAdapter
-
- StandardWebSocketSession - Class in org.springframework.web.socket.adapter
-
- 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.