类的使用
org.springframework.web.socket.sockjs.transport.TransportType
使用TransportType的程序包 程序包 说明 org.springframework.web.socket.sockjs.client SockJS client implementation ofWebSocketClient
.org.springframework.web.socket.sockjs.transport Server-side support for SockJS transports includingTransportHandler
implementations for processing incoming requests, theirsession
counterparts for sending messages over the various transports, andDefaultSockJsService
.org.springframework.web.socket.sockjs.transport.handler TransportHandler
implementation classes as well as a concreteSockJsService
.org.springframework.web.socket.sockjs.client中TransportType的使用
返回变量类型为TransportType的类型的org.springframework.web.socket.sockjs.client中的方法 修饰符和类型 方法 说明 List<TransportType>
AbstractXhrTransport. getTransportTypes()
List<TransportType>
Transport. getTransportTypes()
Return the SockJS transport types that this transport can be used for.List<TransportType>
WebSocketTransport. getTransportTypes()
参数类型为TransportType的org.springframework.web.socket.sockjs.client中的方法 修饰符和类型 方法 说明 URI
SockJsUrlInfo. getTransportUrl(TransportType transportType)
org.springframework.web.socket.sockjs.transport中TransportType的使用
返回TransportType的org.springframework.web.socket.sockjs.transport中的方法 修饰符和类型 方法 说明 static TransportType
TransportType. fromValue(String value)
TransportType
TransportHandler. getTransportType()
Return the transport type supported by this handler.static TransportType
TransportType. valueOf(String name)
返回带有指定名称的该类型的枚举常量。static TransportType[]
TransportType. values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。返回变量类型为TransportType的类型的org.springframework.web.socket.sockjs.transport中的方法 修饰符和类型 方法 说明 Map<TransportType,TransportHandler>
TransportHandlingSockJsService. getTransportHandlers()
Return the registered handlers per transport type.org.springframework.web.socket.sockjs.transport.handler中TransportType的使用
返回TransportType的org.springframework.web.socket.sockjs.transport.handler中的方法 修饰符和类型 方法 说明 TransportType
EventSourceTransportHandler. getTransportType()
TransportType
HtmlFileTransportHandler. getTransportType()
TransportType
WebSocketTransportHandler. getTransportType()
TransportType
XhrPollingTransportHandler. getTransportType()
TransportType
XhrReceivingTransportHandler. getTransportType()
TransportType
XhrStreamingTransportHandler. getTransportType()