Class JsonpReceivingTransportHandler
- java.lang.Object
- org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
- org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
- org.springframework.web.socket.sockjs.transport.handler.JsonpReceivingTransportHandler
- All Implemented Interfaces:
TransportHandler
@Deprecated public class JsonpReceivingTransportHandler extends AbstractHttpReceivingTransportHandler
Deprecated.Will be removed as of Spring Framework 5.1, use others transports instead.ATransportHandler
that receives messages over HTTP.- Author:
- Rossen Stoyanchev
Field Summary
Fields inherited from class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
logger, UTF8_CHARSET
Constructor Summary
Constructors Constructor Description JsonpReceivingTransportHandler()
Deprecated.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected HttpStatus
getResponseStatus()
Deprecated.TransportType
getTransportType()
Deprecated.Return the transport type supported by this handler.void
handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, AbstractHttpSockJsSession sockJsSession)
Deprecated.protected String[]
readMessages(ServerHttpRequest request)
Deprecated.Methods inherited from class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
checkSessionType, handleRequest
Methods inherited from class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
getServiceConfig, initialize
Constructor Detail
JsonpReceivingTransportHandler
public JsonpReceivingTransportHandler()
Deprecated.
Method Detail
getTransportType
public TransportType getTransportType()
Deprecated.Description copied from interface:TransportHandler
Return the transport type supported by this handler.
handleRequestInternal
public void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, AbstractHttpSockJsSession sockJsSession) throws SockJsException
Deprecated.- Overrides:
handleRequestInternal
in classAbstractHttpReceivingTransportHandler
- Throws:
SockJsException
readMessages
protected String[] readMessages(ServerHttpRequest request) throws IOException
Deprecated.- Specified by:
readMessages
in classAbstractHttpReceivingTransportHandler
- Throws:
IOException
getResponseStatus
protected HttpStatus getResponseStatus()
Deprecated.- Specified by:
getResponseStatus
in classAbstractHttpReceivingTransportHandler