In a Servlet 3+ container, org.
can be used to invoke this service. The processing servlet, as well as all filters involved,
must have asynchronous support enabled through the ServletContext API or by adding an
<async-support>true</async-support> element to servlet and filter declarations
in web.xml.
org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
| Modifier and Type | Method and Description |
|---|---|
| public void | handleRequest(ServerHttpRequest
the current request request, ServerHttpResponse the current response response, String the remainder of the path within the SockJS service prefix sockJsPath, WebSocketHandler the handler that will exchange messages with the SockJS client handler)Process a SockJS HTTP request. |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(ServerHttpRequest request, ServerHttpResponse response, String sockJsPath, WebSocketHandler handler) throws SockJsException Process a SockJS HTTP request. See the "Base URL", "Static URLs", and "Session URLs" sections of the SockJS protocol for details on the types of URLs expected.
| |