Uses of Interface
org.springframework.web.socket.sockjs.transport.TransportHandler
Packages that use TransportHandler Package Description org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.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
.Uses of TransportHandler in org.springframework.web.socket.config.annotation
Methods in org.springframework.web.socket.config.annotation with parameters of type TransportHandler Modifier and Type Method Description SockJsServiceRegistration
SockJsServiceRegistration. setTransportHandlerOverrides(TransportHandler... handlers)
SockJsServiceRegistration
SockJsServiceRegistration. setTransportHandlers(TransportHandler... handlers)
Uses of TransportHandler in org.springframework.web.socket.sockjs.transport
Methods in org.springframework.web.socket.sockjs.transport that return types with arguments of type TransportHandler Modifier and Type Method Description Map<TransportType,TransportHandler>
TransportHandlingSockJsService. getTransportHandlers()
Return the registered handlers per transport type.Constructors in org.springframework.web.socket.sockjs.transport with parameters of type TransportHandler Constructor Description TransportHandlingSockJsService(TaskScheduler scheduler, TransportHandler... handlers)
Create a TransportHandlingSockJsService with givenhandler
types.Constructor parameters in org.springframework.web.socket.sockjs.transport with type arguments of type TransportHandler Constructor Description TransportHandlingSockJsService(TaskScheduler scheduler, Collection<TransportHandler> handlers)
Create a TransportHandlingSockJsService with givenhandler
types.Uses of TransportHandler in org.springframework.web.socket.sockjs.transport.handler
Classes in org.springframework.web.socket.sockjs.transport.handler that implement TransportHandler Modifier and Type Class Description class
AbstractHttpReceivingTransportHandler
Base class for HTTP transport handlers that receive messages via HTTP POST.class
AbstractHttpSendingTransportHandler
Base class for HTTP transport handlers that push messages to connected clients.class
AbstractTransportHandler
Common base class forTransportHandler
implementations.class
EventSourceTransportHandler
A TransportHandler for sending messages via Server-Sent Events: https://dev.w3.org/html5/eventsource/.class
HtmlFileTransportHandler
An HTTPTransportHandler
that uses a famous browserdocument.domain technique
.class
WebSocketTransportHandler
WebSocket-basedTransportHandler
.class
XhrPollingTransportHandler
ATransportHandler
based on XHR (long) polling.class
XhrReceivingTransportHandler
ATransportHandler
that receives messages over HTTP.class
XhrStreamingTransportHandler
ATransportHandler
that sends messages over an HTTP streaming request.Constructors in org.springframework.web.socket.sockjs.transport.handler with parameters of type TransportHandler Constructor Description DefaultSockJsService(TaskScheduler scheduler, TransportHandler... handlerOverrides)
Create a DefaultSockJsService with overriddenhandler
types replacing the corresponding default handler implementation.Constructor parameters in org.springframework.web.socket.sockjs.transport.handler with type arguments of type TransportHandler Constructor Description DefaultSockJsService(TaskScheduler scheduler, Collection<TransportHandler> handlerOverrides)
Create a DefaultSockJsService with overriddenhandler
types replacing the corresponding default handler implementation.