类的使用
org.springframework.web.socket.WebSocketExtension
使用WebSocketExtension的程序包 程序包 说明 org.springframework.web.socket Common abstractions and Spring configuration support for WebSocket applications.org.springframework.web.socket.adapter.jetty Adapter classes for the Jetty WebSocket API.org.springframework.web.socket.adapter.standard Adapter classes for the standard Java WebSocket API.org.springframework.web.socket.handler ConvenientWebSocketHandler
implementations and decorators.org.springframework.web.socket.server Server-side abstractions for WebSocket interactions.org.springframework.web.socket.server.jetty Server-side support for the Jetty 9+ WebSocket API.org.springframework.web.socket.server.standard Server-side classes for use with standard JSR-356 WebSocket endpoints.org.springframework.web.socket.server.support Server-side support classes including container-specific strategies for upgrading a request.org.springframework.web.socket.sockjs.client SockJS client implementation ofWebSocketClient
.org.springframework.web.socket.sockjs.transport.session SockJS specific implementations ofWebSocketSession
.org.springframework.web.socket中WebSocketExtension的使用
返回变量类型为WebSocketExtension的类型的org.springframework.web.socket中的方法 修饰符和类型 方法 说明 List<WebSocketExtension>
WebSocketSession. getExtensions()
Determine the negotiated extensions.List<WebSocketExtension>
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.类型变量类型为WebSocketExtension的org.springframework.web.socket中的方法参数 修饰符和类型 方法 说明 void
WebSocketHttpHeaders. setSecWebSocketExtensions(List<WebSocketExtension> extensions)
Sets the (new) value(s) of theSec-WebSocket-Extensions
header.org.springframework.web.socket.adapter.jetty中WebSocketExtension的使用
返回变量类型为WebSocketExtension的类型的org.springframework.web.socket.adapter.jetty中的方法 修饰符和类型 方法 说明 List<WebSocketExtension>
JettyWebSocketSession. getExtensions()
参数类型为WebSocketExtension的org.springframework.web.socket.adapter.jetty中的构造器 构造器 说明 WebSocketToJettyExtensionConfigAdapter(WebSocketExtension extension)
org.springframework.web.socket.adapter.standard中WebSocketExtension的使用
org.springframework.web.socket.adapter.standard中WebSocketExtension的子类 修饰符和类型 类 说明 class
StandardToWebSocketExtensionAdapter
A sub-class ofWebSocketExtension
that can be constructed from anExtension
.返回变量类型为WebSocketExtension的类型的org.springframework.web.socket.adapter.standard中的方法 修饰符和类型 方法 说明 List<WebSocketExtension>
StandardWebSocketSession. getExtensions()
参数类型为WebSocketExtension的org.springframework.web.socket.adapter.standard中的构造器 构造器 说明 WebSocketToStandardExtensionAdapter(WebSocketExtension extension)
org.springframework.web.socket.handler中WebSocketExtension的使用
返回变量类型为WebSocketExtension的类型的org.springframework.web.socket.handler中的方法 修饰符和类型 方法 说明 List<WebSocketExtension>
WebSocketSessionDecorator. getExtensions()
org.springframework.web.socket.server中WebSocketExtension的使用
返回变量类型为WebSocketExtension的类型的org.springframework.web.socket.server中的方法 修饰符和类型 方法 说明 List<WebSocketExtension>
RequestUpgradeStrategy. getSupportedExtensions(ServerHttpRequest request)
Return the WebSocket protocol extensions supported by the underlying WebSocket server.类型变量类型为WebSocketExtension的org.springframework.web.socket.server中的方法参数 修饰符和类型 方法 说明 void
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.org.springframework.web.socket.server.jetty中WebSocketExtension的使用
返回变量类型为WebSocketExtension的类型的org.springframework.web.socket.server.jetty中的方法 修饰符和类型 方法 说明 List<WebSocketExtension>
JettyRequestUpgradeStrategy. getSupportedExtensions(ServerHttpRequest request)
类型变量类型为WebSocketExtension的org.springframework.web.socket.server.jetty中的方法参数 修饰符和类型 方法 说明 void
JettyRequestUpgradeStrategy. upgrade(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler wsHandler, Map<String,Object> attributes)
org.springframework.web.socket.server.standard中WebSocketExtension的使用
返回变量类型为WebSocketExtension的类型的org.springframework.web.socket.server.standard中的方法 修饰符和类型 方法 说明 protected List<WebSocketExtension>
AbstractStandardUpgradeStrategy. getInstalledExtensions(WebSocketContainer container)
protected List<WebSocketExtension>
AbstractTyrusRequestUpgradeStrategy. getInstalledExtensions(WebSocketContainer container)
List<WebSocketExtension>
AbstractStandardUpgradeStrategy. getSupportedExtensions(ServerHttpRequest request)
类型变量类型为WebSocketExtension的org.springframework.web.socket.server.standard中的方法参数 修饰符和类型 方法 说明 void
AbstractStandardUpgradeStrategy. upgrade(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler wsHandler, Map<String,Object> attrs)
org.springframework.web.socket.server.support中WebSocketExtension的使用
返回变量类型为WebSocketExtension的类型的org.springframework.web.socket.server.support中的方法 修饰符和类型 方法 说明 protected List<WebSocketExtension>
AbstractHandshakeHandler. filterRequestedExtensions(ServerHttpRequest request, List<WebSocketExtension> requestedExtensions, List<WebSocketExtension> supportedExtensions)
Filter the list of requested WebSocket extensions.类型变量类型为WebSocketExtension的org.springframework.web.socket.server.support中的方法参数 修饰符和类型 方法 说明 protected List<WebSocketExtension>
AbstractHandshakeHandler. filterRequestedExtensions(ServerHttpRequest request, List<WebSocketExtension> requestedExtensions, List<WebSocketExtension> supportedExtensions)
Filter the list of requested WebSocket extensions.org.springframework.web.socket.sockjs.client中WebSocketExtension的使用
返回变量类型为WebSocketExtension的类型的org.springframework.web.socket.sockjs.client中的方法 修饰符和类型 方法 说明 List<WebSocketExtension>
WebSocketClientSockJsSession. getExtensions()
List<WebSocketExtension>
XhrClientSockJsSession. getExtensions()
org.springframework.web.socket.sockjs.transport.session中WebSocketExtension的使用
返回变量类型为WebSocketExtension的类型的org.springframework.web.socket.sockjs.transport.session中的方法 修饰符和类型 方法 说明 List<WebSocketExtension>
AbstractHttpSockJsSession. getExtensions()
List<WebSocketExtension>
WebSocketServerSockJsSession. getExtensions()