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(java.lang.String sessionId,
WebSocketHandler handler)
Create a new SockJS session.
|
protected MediaType |
getContentType() |
protected SockJsFrame.FrameFormat |
getFrameFormat(ServerHttpRequest request) |
TransportType |
getTransportType() |
getSockJsConfig, handleRequest, handleRequestInternal, setSockJsConfigurationpublic TransportType getTransportType()
protected MediaType getContentType()
getContentType in class AbstractHttpSendingTransportHandlerpublic StreamingSockJsSession createSession(java.lang.String sessionId, WebSocketHandler handler)
SockJsSessionFactorysessionId - the ID of the sessionhandler - the underlying WebSocketHandlerprotected SockJsFrame.FrameFormat getFrameFormat(ServerHttpRequest request)
getFrameFormat in class AbstractHttpSendingTransportHandler