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 org.springframework.http.MediaType |
getContentType() |
protected SockJsFrame.FrameFormat |
getFrameFormat(org.springframework.http.server.ServerHttpRequest request) |
TransportType |
getTransportType() |
void |
handleRequestInternal(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response,
AbstractHttpSockJsSession sockJsSession) |
getCallbackParam, handleRequestgetSockJsServiceConfig, setSockJsServiceConfigurationpublic TransportType getTransportType()
protected org.springframework.http.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(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response,
AbstractHttpSockJsSession sockJsSession)
throws SockJsException
handleRequestInternal in class AbstractHttpSendingTransportHandlerSockJsExceptionprotected SockJsFrame.FrameFormat getFrameFormat(org.springframework.http.server.ServerHttpRequest request)
getFrameFormat in class AbstractHttpSendingTransportHandler