Uses of Class
org.springframework.web.socket.WebSocketExtension
Package
Description
Common abstractions and Spring configuration support for WebSocket applications.
Adapter classes for the Jetty WebSocket API.
Adapter classes for the standard Jakarta WebSocket API.
Convenient
WebSocketHandler
implementations and decorators.Server-side abstractions for WebSocket interactions.
Server-side support for the Jetty WebSocket API.
Server-side classes for use with standard JSR-356 WebSocket endpoints.
Server-side support classes including container-specific strategies
for upgrading a request.
SockJS client implementation of
WebSocketClient
.SockJS specific implementations of
WebSocketSession
.-
Uses of WebSocketExtension in org.springframework.web.socket
Modifier and TypeMethodDescriptionWebSocketSession.getExtensions()
Determine the negotiated extensions.WebSocketHttpHeaders.getSecWebSocketExtensions()
Returns the value of theSec-WebSocket-Extensions
header.static List<WebSocketExtension>
WebSocketExtension.parseExtensions
(String extensions) Parse the given, comma-separated string into a list ofWebSocketExtension
objects.Modifier and TypeMethodDescriptionvoid
WebSocketHttpHeaders.setSecWebSocketExtensions
(List<WebSocketExtension> extensions) Sets the (new) value(s) of theSec-WebSocket-Extensions
header. -
Uses of WebSocketExtension in org.springframework.web.socket.adapter.jetty
ModifierConstructorDescription -
Uses of WebSocketExtension in org.springframework.web.socket.adapter.standard
Modifier and TypeClassDescriptionclass
A subclass ofWebSocketExtension
that can be constructed from aExtension
. -
Uses of WebSocketExtension in org.springframework.web.socket.handler
-
Uses of WebSocketExtension in org.springframework.web.socket.server
Modifier and TypeMethodDescriptionRequestUpgradeStrategy.getSupportedExtensions
(ServerHttpRequest request) Return the WebSocket protocol extensions supported by the underlying WebSocket server.Modifier and TypeMethodDescriptionvoid
RequestUpgradeStrategy.upgrade
(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler wsHandler, Map<String, Object> attributes) Perform runtime specific steps to complete the upgrade. -
Uses of WebSocketExtension in org.springframework.web.socket.server.jetty
Modifier and TypeMethodDescriptionJettyRequestUpgradeStrategy.getSupportedExtensions
(ServerHttpRequest request) Modifier and TypeMethodDescriptionvoid
JettyRequestUpgradeStrategy.upgrade
(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler handler, Map<String, Object> attributes) -
Uses of WebSocketExtension in org.springframework.web.socket.server.standard
Modifier and TypeMethodDescriptionprotected List<WebSocketExtension>
AbstractStandardUpgradeStrategy.getInstalledExtensions
(WebSocketContainer container) protected List<WebSocketExtension>
AbstractTyrusRequestUpgradeStrategy.getInstalledExtensions
(WebSocketContainer container) AbstractStandardUpgradeStrategy.getSupportedExtensions
(ServerHttpRequest request) Modifier and TypeMethodDescriptionvoid
AbstractStandardUpgradeStrategy.upgrade
(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler wsHandler, Map<String, Object> attrs) -
Uses of WebSocketExtension in org.springframework.web.socket.server.support
Modifier and TypeMethodDescriptionprotected List<WebSocketExtension>
AbstractHandshakeHandler.filterRequestedExtensions
(ServerHttpRequest request, List<WebSocketExtension> requestedExtensions, List<WebSocketExtension> supportedExtensions) Filter the list of requested WebSocket extensions.Modifier and TypeMethodDescriptionprotected List<WebSocketExtension>
AbstractHandshakeHandler.filterRequestedExtensions
(ServerHttpRequest request, List<WebSocketExtension> requestedExtensions, List<WebSocketExtension> supportedExtensions) Filter the list of requested WebSocket extensions. -
Uses of WebSocketExtension in org.springframework.web.socket.sockjs.client
Modifier and TypeMethodDescriptionWebSocketClientSockJsSession.getExtensions()
XhrClientSockJsSession.getExtensions()
-
Uses of WebSocketExtension in org.springframework.web.socket.sockjs.transport.session
Modifier and TypeMethodDescriptionAbstractHttpSockJsSession.getExtensions()
WebSocketServerSockJsSession.getExtensions()