public class XhrStreamingTransportHandler extends AbstractHttpSendingTransportHandler
TransportHandler that sends messages over an HTTP streaming request.logger, UTF8_CHARSET| Constructor and Description |
|---|
XhrStreamingTransportHandler() |
| Modifier and Type | Method and Description |
|---|---|
StreamingSockJsSession |
createSession(String sessionId,
WebSocketHandler handler,
Map<String,Object> attributes)
Create a new SockJS session.
|
protected MediaType |
getContentType() |
protected SockJsFrameFormat |
getFrameFormat(ServerHttpRequest request) |
TransportType |
getTransportType()
Return the transport type supported by this handler.
|
getCallbackParam, handleRequest, handleRequestInternalgetServiceConfig, initializepublic TransportType getTransportType()
TransportHandlerprotected MediaType getContentType()
getContentType in class AbstractHttpSendingTransportHandlerpublic StreamingSockJsSession createSession(String sessionId, WebSocketHandler handler, Map<String,Object> attributes)
SockJsSessionFactorysessionId - the ID of the sessionhandler - the underlying WebSocketHandlerattributes - handshake request specific attributesnullprotected SockJsFrameFormat getFrameFormat(ServerHttpRequest request)
getFrameFormat in class AbstractHttpSendingTransportHandler