Uses of Class
org.springframework.web.socket.config.annotation.WebSocketTransportRegistration
Packages that use WebSocketTransportRegistration Package Description org.springframework.web.socket.config.annotation 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 WebSocketTransportRegistration Modifier and Type Method Description WebSocketTransportRegistration
WebSocketTransportRegistration. addDecoratorFactory(WebSocketHandlerDecoratorFactory factory)
Add a factory that to decorate the handler used to process WebSocket messages.protected WebSocketTransportRegistration
WebSocketMessageBrokerConfigurationSupport. getTransportRegistration()
WebSocketTransportRegistration
WebSocketTransportRegistration. setDecoratorFactories(WebSocketHandlerDecoratorFactory... factories)
Configure one or more factories to decorate the handler used to process WebSocket messages.WebSocketTransportRegistration
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
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
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
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 WebSocketTransportRegistration Modifier and Type Method Description void
AbstractWebSocketMessageBrokerConfigurer. configureWebSocketTransport(WebSocketTransportRegistration registration)
Deprecated.protected void
DelegatingWebSocketMessageBrokerConfiguration. configureWebSocketTransport(WebSocketTransportRegistration registration)
protected void
WebSocketMessageBrokerConfigurationSupport. configureWebSocketTransport(WebSocketTransportRegistration registry)
default void
WebSocketMessageBrokerConfigurer. 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 WebSocketTransportRegistration Constructor Description WebMvcStompEndpointRegistry(WebSocketHandler webSocketHandler, WebSocketTransportRegistration transportRegistration, TaskScheduler defaultSockJsTaskScheduler)