public class HtmlFileTransportHandler extends AbstractHttpSendingTransportHandler
TransportHandler that uses a famous browsder document.domain technique:
http://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-dologger| Constructor and Description |
|---|
HtmlFileTransportHandler() |
| 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() |
void |
handleRequestInternal(ServerHttpRequest request,
ServerHttpResponse response,
AbstractHttpSockJsSession session) |
getSockJsConfig, handleRequest, setSockJsConfigurationpublic TransportType getTransportType()
protected MediaType getContentType()
getContentType in class AbstractHttpSendingTransportHandlerpublic StreamingSockJsSession 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