public class XhrStreamingTransportHandler extends AbstractHttpSendingTransportHandler
TransportHandler that sends messages over an HTTP streaming request.logger| Constructor and Description |
|---|
XhrStreamingTransportHandler() |
| Modifier and Type | Method and Description |
|---|---|
StreamingSockJsSession |
createSession(String sessionId,
WebSocketHandler wsHandler,
Map<String,Object> attributes)
Create a new SockJS session.
|
protected MediaType |
getContentType() |
protected SockJsFrame.FrameFormat |
getFrameFormat(ServerHttpRequest request) |
TransportType |
getTransportType() |
getCallbackParam, handleRequest, handleRequestInternalgetSockJsServiceConfig, setSockJsServiceConfigurationpublic TransportType getTransportType()
protected MediaType getContentType()
getContentType in class AbstractHttpSendingTransportHandlerpublic StreamingSockJsSession createSession(String sessionId, WebSocketHandler wsHandler, Map<String,Object> attributes)
SockJsSessionFactorysessionId - the ID of the sessionwsHandler - the underlying WebSocketHandlerattributes - handshake request specific attributesnullprotected SockJsFrame.FrameFormat getFrameFormat(ServerHttpRequest request)
getFrameFormat in class AbstractHttpSendingTransportHandler