| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the session matches (and would therefore get
accepted by handleRequest), or false otherwiseCheck whether the type of the given session matches the transport type
of this |
| public TransportType | |
| public void | handleRequest(ServerHttpRequest
the current request request, ServerHttpResponse the current response response, WebSocketHandler the target WebSocketHandler (never handler, SockJsSession null)the SockJS session (never session)null)Handle the given request and delegate messages to the provided
|
| public void | initialize(SockJsServiceConfig
the configuration as defined by the containing
serviceConfig)org.Initialize this handler with the given configuration. |
| checkSessionType | back to summary |
|---|---|
| public boolean checkSessionType(SockJsSession session) Check whether the type of the given session matches the transport type
of this
| |
| getTransportType | back to summary |
|---|---|
| public TransportType getTransportType() Return the transport type supported by this handler. | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler handler, SockJsSession session) throws SockJsException Handle the given request and delegate messages to the provided
| |
| initialize | back to summary |
|---|---|
| public void initialize(SockJsServiceConfig serviceConfig) Initialize this handler with the given configuration.
| |