Top Description Constructors Methods
org.springframework.web.socket.sockjs.transport.handler

public Class XhrReceivingTransportHandler

extends AbstractHttpReceivingTransportHandler
Class Inheritance
Imports
java.io.IOException, org.springframework.http.HttpStatus, .HttpStatusCode, org.springframework.http.server.ServerHttpRequest, org.springframework.lang.Nullable, org.springframework.web.socket.sockjs.transport.TransportHandler, .TransportType

A TransportHandler that receives messages over HTTP.
Author
Rossen Stoyanchev
Since
4.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected HttpStatusCode
public TransportType
getTransportType()

Implements org.springframework.web.socket.sockjs.transport.TransportHandler.getTransportType.

Return the transport type supported by this handler.

protected String[]
Inherited from org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler:
checkSessionTypehandleRequesthandleRequestInternal

Constructor Detail

XhrReceivingTransportHandlerback to summary
public XhrReceivingTransportHandler()

Method Detail

getResponseStatusback to summary
protected HttpStatusCode getResponseStatus()

Implements abstract org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler.getResponseStatus.

Annotations
@Override
getTransportTypeback to summary
public TransportType getTransportType()

Implements org.springframework.web.socket.sockjs.transport.TransportHandler.getTransportType.

Doc from org.springframework.web.socket.sockjs.transport.TransportHandler.getTransportType.

Return the transport type supported by this handler.

Annotations
@Override
readMessagesback to summary
protected String[] readMessages(ServerHttpRequest request) throws IOException

Implements abstract org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler.readMessages.

Annotations
@Override
@Nullable