public class JsonpPollingTransportHandler extends AbstractHttpSendingTransportHandler
logger| Constructor and Description |
|---|
JsonpPollingTransportHandler() |
| Modifier and Type | Method and Description |
|---|---|
PollingSockJsSession |
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() |
void |
handleRequestInternal(ServerHttpRequest request,
ServerHttpResponse response,
AbstractHttpSockJsSession sockJsSession) |
getCallbackParam, handleRequestgetSockJsServiceConfig, setSockJsServiceConfigurationpublic TransportType getTransportType()
protected MediaType getContentType()
getContentType in class AbstractHttpSendingTransportHandlerpublic PollingSockJsSession createSession(String sessionId, WebSocketHandler wsHandler, Map<String,Object> attributes)
SockJsSessionFactorysessionId - the ID of the sessionwsHandler - the underlying WebSocketHandlerattributes - handshake request specific attributesnullpublic void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, AbstractHttpSockJsSession sockJsSession) throws SockJsException
handleRequestInternal in class AbstractHttpSendingTransportHandlerSockJsExceptionprotected SockJsFrame.FrameFormat getFrameFormat(ServerHttpRequest request)
getFrameFormat in class AbstractHttpSendingTransportHandler