Skip navigation links
spring-websocket
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.web.socket.client.AbstractWebSocketClient.doHandshakeInternal(WebSocketHandler, HttpHeaders, URI, List<String>, List<WebSocketExtension>, Map<String, Object>)
    as of 6.0, in favor of AbstractWebSocketClient.executeInternal(WebSocketHandler, HttpHeaders, URI, List, List, Map)
    org.springframework.web.socket.client.WebSocketClient.doHandshake(WebSocketHandler, String, Object...)
    as of 6.0, in favor of WebSocketClient.execute(WebSocketHandler, String, Object...)
    org.springframework.web.socket.client.WebSocketClient.doHandshake(WebSocketHandler, WebSocketHttpHeaders, URI)
    as of 6.0, in favor of WebSocketClient.execute(WebSocketHandler, WebSocketHttpHeaders, URI)
    org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry.getUrlPathHelper()
    without a replacement; see notice on ServletWebSocketHandlerRegistry.setUrlPathHelper(org.springframework.web.util.UrlPathHelper)
    org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry.setUrlPathHelper(UrlPathHelper)
    without a replacement since effectively the UrlPathHelper is no longer used with PathPatternParser used by the default in all extensions of AbstractHandlerMapping. To be removed in 7.0.
    org.springframework.web.socket.config.WebSocketMessageBrokerStats.getStompBrokerRelayStatsInfo()
    as of 6.2 in favor of WebSocketMessageBrokerStats.getStompBrokerRelayStats().
    org.springframework.web.socket.config.WebSocketMessageBrokerStats.getStompSubProtocolStatsInfo()
    as of 6.2 in favor of WebSocketMessageBrokerStats.getStompSubProtocolStats().
    org.springframework.web.socket.config.WebSocketMessageBrokerStats.getWebSocketSessionStatsInfo()
    as of 6.2 in favor of WebSocketMessageBrokerStats.getWebSocketSessionStats().
    org.springframework.web.socket.messaging.WebSocketStompClient.connect(String, StompSessionHandler, Object...)
    as of 6.0, in favor of WebSocketStompClient.connectAsync(String, StompSessionHandler, Object...)
    org.springframework.web.socket.messaging.WebSocketStompClient.connect(String, WebSocketHttpHeaders, StompHeaders, StompSessionHandler, Object...)
    as of 6.0, in favor of WebSocketStompClient.connectAsync(String, WebSocketHttpHeaders, StompHeaders, StompSessionHandler, Object...)
    org.springframework.web.socket.messaging.WebSocketStompClient.connect(String, WebSocketHttpHeaders, StompSessionHandler, Object...)
    as of 6.0, in favor of WebSocketStompClient.connectAsync(String, WebSocketHttpHeaders, StompSessionHandler, Object...)
    org.springframework.web.socket.messaging.WebSocketStompClient.connect(URI, WebSocketHttpHeaders, StompHeaders, StompSessionHandler)
    as of 6.0, in favor of WebSocketStompClient.connectAsync(URI, WebSocketHttpHeaders, StompHeaders, StompSessionHandler)
    org.springframework.web.socket.server.standard.UndertowRequestUpgradeStrategy
    as of 6.2.18 with no replacement
    org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession(TransportRequest, WebSocketHandler, SettableListenableFuture<WebSocketSession>)
    as of 6.0, in favor of AbstractClientSockJsSession(TransportRequest, WebSocketHandler, CompletableFuture)
    org.springframework.web.socket.sockjs.client.AbstractXhrTransport.connectInternal(TransportRequest, WebSocketHandler, URI, HttpHeaders, XhrClientSockJsSession, SettableListenableFuture<WebSocketSession>)
    org.springframework.web.socket.sockjs.client.Transport.connect(TransportRequest, WebSocketHandler)
    as of 6.0, in favor of Transport.connectAsync(TransportRequest, WebSocketHandler)
    org.springframework.web.socket.sockjs.client.UndertowXhrTransport
    as of 6.2.18 with no replacement
    org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession(TransportRequest, WebSocketHandler, SettableListenableFuture<WebSocketSession>)
    as of 6.0, in favor of WebSocketClientSockJsSession(TransportRequest, WebSocketHandler, CompletableFuture)
    org.springframework.web.socket.sockjs.client.XhrClientSockJsSession(TransportRequest, WebSocketHandler, XhrTransport, SettableListenableFuture<WebSocketSession>)
    as of 6.0, in favor of XhrClientSockJsSession(TransportRequest, WebSocketHandler, XhrTransport, CompletableFuture)
  • Deprecated Classes
    Class
    Description
    org.springframework.web.socket.server.standard.UndertowRequestUpgradeStrategy
    as of 6.2.18 with no replacement
    org.springframework.web.socket.sockjs.client.UndertowXhrTransport
    as of 6.2.18 with no replacement
  • Deprecated Methods
    Method
    Description
    org.springframework.web.socket.client.AbstractWebSocketClient.doHandshakeInternal(WebSocketHandler, HttpHeaders, URI, List<String>, List<WebSocketExtension>, Map<String, Object>)
    as of 6.0, in favor of AbstractWebSocketClient.executeInternal(WebSocketHandler, HttpHeaders, URI, List, List, Map)
    org.springframework.web.socket.client.WebSocketClient.doHandshake(WebSocketHandler, String, Object...)
    as of 6.0, in favor of WebSocketClient.execute(WebSocketHandler, String, Object...)
    org.springframework.web.socket.client.WebSocketClient.doHandshake(WebSocketHandler, WebSocketHttpHeaders, URI)
    as of 6.0, in favor of WebSocketClient.execute(WebSocketHandler, WebSocketHttpHeaders, URI)
    org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry.getUrlPathHelper()
    without a replacement; see notice on ServletWebSocketHandlerRegistry.setUrlPathHelper(org.springframework.web.util.UrlPathHelper)
    org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry.setUrlPathHelper(UrlPathHelper)
    without a replacement since effectively the UrlPathHelper is no longer used with PathPatternParser used by the default in all extensions of AbstractHandlerMapping. To be removed in 7.0.
    org.springframework.web.socket.config.WebSocketMessageBrokerStats.getStompBrokerRelayStatsInfo()
    as of 6.2 in favor of WebSocketMessageBrokerStats.getStompBrokerRelayStats().
    org.springframework.web.socket.config.WebSocketMessageBrokerStats.getStompSubProtocolStatsInfo()
    as of 6.2 in favor of WebSocketMessageBrokerStats.getStompSubProtocolStats().
    org.springframework.web.socket.config.WebSocketMessageBrokerStats.getWebSocketSessionStatsInfo()
    as of 6.2 in favor of WebSocketMessageBrokerStats.getWebSocketSessionStats().
    org.springframework.web.socket.messaging.WebSocketStompClient.connect(String, StompSessionHandler, Object...)
    as of 6.0, in favor of WebSocketStompClient.connectAsync(String, StompSessionHandler, Object...)
    org.springframework.web.socket.messaging.WebSocketStompClient.connect(String, WebSocketHttpHeaders, StompHeaders, StompSessionHandler, Object...)
    as of 6.0, in favor of WebSocketStompClient.connectAsync(String, WebSocketHttpHeaders, StompHeaders, StompSessionHandler, Object...)
    org.springframework.web.socket.messaging.WebSocketStompClient.connect(String, WebSocketHttpHeaders, StompSessionHandler, Object...)
    as of 6.0, in favor of WebSocketStompClient.connectAsync(String, WebSocketHttpHeaders, StompSessionHandler, Object...)
    org.springframework.web.socket.messaging.WebSocketStompClient.connect(URI, WebSocketHttpHeaders, StompHeaders, StompSessionHandler)
    as of 6.0, in favor of WebSocketStompClient.connectAsync(URI, WebSocketHttpHeaders, StompHeaders, StompSessionHandler)
    org.springframework.web.socket.sockjs.client.AbstractXhrTransport.connectInternal(TransportRequest, WebSocketHandler, URI, HttpHeaders, XhrClientSockJsSession, SettableListenableFuture<WebSocketSession>)
    org.springframework.web.socket.sockjs.client.Transport.connect(TransportRequest, WebSocketHandler)
    as of 6.0, in favor of Transport.connectAsync(TransportRequest, WebSocketHandler)
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.web.socket.sockjs.client.AbstractClientSockJsSession(TransportRequest, WebSocketHandler, SettableListenableFuture<WebSocketSession>)
    as of 6.0, in favor of AbstractClientSockJsSession(TransportRequest, WebSocketHandler, CompletableFuture)
    org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession(TransportRequest, WebSocketHandler, SettableListenableFuture<WebSocketSession>)
    as of 6.0, in favor of WebSocketClientSockJsSession(TransportRequest, WebSocketHandler, CompletableFuture)
    org.springframework.web.socket.sockjs.client.XhrClientSockJsSession(TransportRequest, WebSocketHandler, XhrTransport, SettableListenableFuture<WebSocketSession>)
    as of 6.0, in favor of XhrClientSockJsSession(TransportRequest, WebSocketHandler, XhrTransport, CompletableFuture)