public class XhrPollingTransportHandler extends AbstractHttpSendingTransportHandler
TransportHandler based on XHR (long) polling.logger| Constructor and Description |
|---|
XhrPollingTransportHandler() |
| Modifier and Type | Method and Description |
|---|---|
PollingSockJsSession |
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 AbstractHttpSendingTransportHandlerprotected SockJsFrame.FrameFormat getFrameFormat(ServerHttpRequest request)
getFrameFormat in class AbstractHttpSendingTransportHandlerpublic PollingSockJsSession createSession(java.lang.String sessionId, WebSocketHandler handler)
SockJsSessionFactorysessionId - the ID of the sessionhandler - the underlying WebSocketHandler