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, UTF8_CHARSET| Constructor and Description |
|---|
HtmlFileTransportHandler() |
| Modifier and Type | Method and Description |
|---|---|
StreamingSockJsSession |
createSession(String sessionId,
WebSocketHandler handler,
Map<String,Object> attributes)
Create a new SockJS session.
|
protected org.springframework.http.MediaType |
getContentType() |
protected SockJsFrameFormat |
getFrameFormat(org.springframework.http.server.ServerHttpRequest request) |
TransportType |
getTransportType()
Return the transport type supported by this handler.
|
void |
handleRequestInternal(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response,
AbstractHttpSockJsSession sockJsSession) |
getCallbackParam, handleRequestgetServiceConfig, initializepublic TransportType getTransportType()
TransportHandlerprotected org.springframework.http.MediaType getContentType()
getContentType in class AbstractHttpSendingTransportHandlerpublic StreamingSockJsSession createSession(String sessionId, WebSocketHandler handler, Map<String,Object> attributes)
SockJsSessionFactorysessionId - the ID of the sessionhandler - the underlying WebSocketHandlerattributes - handshake request specific attributesnullpublic void handleRequestInternal(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response,
AbstractHttpSockJsSession sockJsSession)
handleRequestInternal in class AbstractHttpSendingTransportHandlerprotected SockJsFrameFormat getFrameFormat(org.springframework.http.server.ServerHttpRequest request)
getFrameFormat in class AbstractHttpSendingTransportHandler