public class JsonpPollingTransportHandler extends AbstractHttpSendingTransportHandler
logger| Constructor and Description |
|---|
JsonpPollingTransportHandler() |
| 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() |
void |
handleRequestInternal(ServerHttpRequest request,
ServerHttpResponse response,
AbstractHttpSockJsSession session) |
getSockJsConfig, handleRequest, setSockJsConfigurationpublic TransportType getTransportType()
protected MediaType getContentType()
getContentType in class AbstractHttpSendingTransportHandlerpublic PollingSockJsSession createSession(java.lang.String sessionId, WebSocketHandler handler)
SockJsSessionFactorysessionId - the ID of the sessionhandler - the underlying WebSocketHandlerpublic void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, AbstractHttpSockJsSession session) throws TransportErrorException
handleRequestInternal in class AbstractHttpSendingTransportHandlerTransportErrorExceptionprotected SockJsFrame.FrameFormat getFrameFormat(ServerHttpRequest request)
getFrameFormat in class AbstractHttpSendingTransportHandler