public class EventSourceTransportHandler extends AbstractHttpSendingTransportHandler
logger| Constructor and Description |
|---|
EventSourceTransportHandler() |
| Modifier and Type | Method and Description |
|---|---|
StreamingSockJsSession |
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() |
getCallbackParam, handleRequest, handleRequestInternalgetSockJsServiceConfig, setSockJsServiceConfigurationpublic TransportType getTransportType()
protected org.springframework.http.MediaType getContentType()
getContentType in class AbstractHttpSendingTransportHandlerpublic StreamingSockJsSession createSession(String sessionId, WebSocketHandler wsHandler, Map<String,Object> attributes)
SockJsSessionFactorysessionId - the ID of the sessionwsHandler - the underlying WebSocketHandlerattributes - handshake request specific attributesnullprotected SockJsFrame.FrameFormat getFrameFormat(org.springframework.http.server.ServerHttpRequest request)
getFrameFormat in class AbstractHttpSendingTransportHandler