public class JsonpReceivingTransportHandler extends AbstractHttpReceivingTransportHandler
TransportHandler
that receives messages over HTTP.Modifier and Type | Field and Description |
---|---|
private FormHttpMessageConverter |
formConverter |
logger, UTF8_CHARSET
Constructor and Description |
---|
JsonpReceivingTransportHandler() |
Modifier and Type | Method and Description |
---|---|
protected HttpStatus |
getResponseStatus() |
TransportType |
getTransportType()
Return the transport type supported by this handler.
|
void |
handleRequestInternal(ServerHttpRequest request,
ServerHttpResponse response,
WebSocketHandler wsHandler,
AbstractHttpSockJsSession sockJsSession) |
protected java.lang.String[] |
readMessages(ServerHttpRequest request) |
handleRequest
getServiceConfig, initialize
private final FormHttpMessageConverter formConverter
public TransportType getTransportType()
TransportHandler
public void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, AbstractHttpSockJsSession sockJsSession) throws SockJsException
handleRequestInternal
in class AbstractHttpReceivingTransportHandler
SockJsException
protected java.lang.String[] readMessages(ServerHttpRequest request) throws java.io.IOException
readMessages
in class AbstractHttpReceivingTransportHandler
java.io.IOException
protected HttpStatus getResponseStatus()
getResponseStatus
in class AbstractHttpReceivingTransportHandler