Class XhrReceivingTransportHandler
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.XhrReceivingTransportHandler
- All Implemented Interfaces:
TransportHandler
A
TransportHandler
that receives messages over HTTP.- Since:
- 4.0
- Author:
- Rossen Stoyanchev
-
Field Summary
Fields inherited from class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpStatus
Return the transport type supported by this handler.protected String[]
readMessages
(ServerHttpRequest request) Methods inherited from class org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler
checkSessionType, handleRequest, handleRequestInternal
Methods inherited from class org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
getServiceConfig, initialize
-
Constructor Details
-
XhrReceivingTransportHandler
public XhrReceivingTransportHandler()
-
-
Method Details
-
getTransportType
Description copied from interface:TransportHandler
Return the transport type supported by this handler. -
readMessages
- Specified by:
readMessages
in classAbstractHttpReceivingTransportHandler
- Throws:
IOException
-
getResponseStatus
- Specified by:
getResponseStatus
in classAbstractHttpReceivingTransportHandler
-