public interface TransportHandler
TransportHandler is closely
related to and often delegates to an AbstractSockJsSession. In fact most
transports are also implementations of SockJsSessionFactory with the only exception
to that being HTTP transports that receive messages as they depend on finding an existing
session. See TransportType for a list of all available transport types.SockJsService| Modifier and Type | Method and Description |
|---|---|
TransportType |
getTransportType() |
void |
handleRequest(ServerHttpRequest request,
ServerHttpResponse response,
WebSocketHandler handler,
AbstractSockJsSession session) |
TransportType getTransportType()
void handleRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler handler, AbstractSockJsSession session) throws TransportErrorException
TransportErrorException