public class EventSourceTransportHandler extends AbstractHttpSendingTransportHandler
logger
Constructor and Description |
---|
EventSourceTransportHandler() |
Modifier and Type | Method and Description |
---|---|
StreamingSockJsSession |
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, setSockJsConfiguration
public TransportType getTransportType()
protected MediaType getContentType()
getContentType
in class AbstractHttpSendingTransportHandler
public StreamingSockJsSession createSession(java.lang.String sessionId, WebSocketHandler handler)
SockJsSessionFactory
sessionId
- the ID of the sessionhandler
- the underlying WebSocketHandler
protected SockJsFrame.FrameFormat getFrameFormat(ServerHttpRequest request)
getFrameFormat
in class AbstractHttpSendingTransportHandler