public abstract class AbstractHttpSendingTransportHandler extends java.lang.Object implements ConfigurableTransportHandler, SockJsSessionFactory
| Constructor and Description |
|---|
AbstractHttpSendingTransportHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract MediaType |
getContentType() |
protected abstract SockJsFrame.FrameFormat |
getFrameFormat(ServerHttpRequest request) |
SockJsConfiguration |
getSockJsConfig() |
void |
handleRequest(ServerHttpRequest request,
ServerHttpResponse response,
WebSocketHandler webSocketHandler,
AbstractSockJsSession session) |
protected void |
handleRequestInternal(ServerHttpRequest request,
ServerHttpResponse response,
AbstractHttpSockJsSession httpServerSession) |
void |
setSockJsConfiguration(SockJsConfiguration sockJsConfig) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTransportTypecreateSessionprotected final Log logger
public void setSockJsConfiguration(SockJsConfiguration sockJsConfig)
setSockJsConfiguration in interface ConfigurableTransportHandlerpublic SockJsConfiguration getSockJsConfig()
public final void handleRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler webSocketHandler, AbstractSockJsSession session) throws TransportErrorException
handleRequest in interface TransportHandlerTransportErrorExceptionprotected void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, AbstractHttpSockJsSession httpServerSession) throws TransportErrorException
TransportErrorExceptionprotected abstract MediaType getContentType()
protected abstract SockJsFrame.FrameFormat getFrameFormat(ServerHttpRequest request)