Uses of Class
org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
Packages that use WebSocketTransportRegistration
Package
Description
Support for annotation-based WebSocket setup in configuration classes.
-
Uses of WebSocketTransportRegistration in org.springframework.web.socket.config.annotation
Methods in org.springframework.web.socket.config.annotation that return WebSocketTransportRegistrationModifier and TypeMethodDescriptionWebSocketTransportRegistration.addDecoratorFactory(WebSocketHandlerDecoratorFactory factory) Add a factory that to decorate the handler used to process WebSocket messages.protected final WebSocketTransportRegistrationWebSocketMessageBrokerConfigurationSupport.getTransportRegistration()WebSocketTransportRegistration.setDecoratorFactories(WebSocketHandlerDecoratorFactory... factories) Configure one or more factories to decorate the handler used to process WebSocket messages.WebSocketTransportRegistration.setMessageSizeLimit(int messageSizeLimit) Configure the maximum size of an inbound sub-protocol message, such as a STOMP frame which may be aggregated from multiple WebSocket messages.WebSocketTransportRegistration.setSendBufferSizeLimit(int sendBufferSizeLimit) Configure the maximum amount of data to buffer when sending messages to a WebSocket session, or an HTTP response when SockJS fallback option are in use.WebSocketTransportRegistration.setSendTimeLimit(int timeLimit) Configure a time limit (in milliseconds) for the maximum amount of a time allowed when sending messages to a WebSocket session or writing to an HTTP response when SockJS fallback option are in use.WebSocketTransportRegistration.setTimeToFirstMessage(int timeToFirstMessage) Set the maximum time allowed in milliseconds after the WebSocket connection is established and before the first sub-protocol message is received.Methods in org.springframework.web.socket.config.annotation with parameters of type WebSocketTransportRegistrationModifier and TypeMethodDescriptionprotected voidDelegatingWebSocketMessageBrokerConfiguration.configureWebSocketTransport(WebSocketTransportRegistration registration) protected voidWebSocketMessageBrokerConfigurationSupport.configureWebSocketTransport(WebSocketTransportRegistration registry) default voidWebSocketMessageBrokerConfigurer.configureWebSocketTransport(WebSocketTransportRegistration registry) Configure options related to the processing of messages received from and sent to WebSocket clients.Constructors in org.springframework.web.socket.config.annotation with parameters of type WebSocketTransportRegistrationModifierConstructorDescriptionWebMvcStompEndpointRegistry(WebSocketHandler webSocketHandler, WebSocketTransportRegistration transportRegistration, TaskScheduler defaultSockJsTaskScheduler)