| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | checkSessionType(SockJsSession session)
Implements org. Check whether the type of the given session matches the transport type
of this |
| protected abstract HttpStatusCode | |
| private void | |
| public final void | handleRequest(ServerHttpRequest
the current request request, ServerHttpResponse the current response response, WebSocketHandler the target WebSocketHandler (never wsHandler, SockJsSession null)the SockJS session (never wsSession)null)Implements org. Handle the given request and delegate messages to the provided
|
| protected void | handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, AbstractHttpSockJsSession sockJsSession)
|
| protected abstract String[] |
| AbstractHttpReceivingTransportHandler | back to summary |
|---|---|
| public AbstractHttpReceivingTransportHandler() | |
| checkSessionType | back to summary |
|---|---|
| public boolean checkSessionType(SockJsSession session) Implements org. Doc from org. Check whether the type of the given session matches the transport type
of this
| |
| getResponseStatus | back to summary |
|---|---|
| protected abstract HttpStatusCode getResponseStatus() | |
| handleReadError | back to summary |
|---|---|
| private void handleReadError(ServerHttpResponse response, String error, String sessionId) | |
| handleRequest | back to summary |
|---|---|
| public final void handleRequest(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, SockJsSession wsSession) throws SockJsException Implements org. Doc from org. Handle the given request and delegate messages to the provided
| |
| handleRequestInternal | back to summary |
|---|---|
| protected void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, AbstractHttpSockJsSession sockJsSession) throws SockJsException | |
| readMessages | back to summary |
|---|---|
protected abstract String[] readMessages(ServerHttpRequest request) throws IOException
| |