Class SockJsHttpRequestHandler

java.lang.Object
org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler
All Implemented Interfaces:
Aware, Lifecycle, ServletContextAware, CorsConfigurationSource, HttpRequestHandler

public class SockJsHttpRequestHandler extends Object implements HttpRequestHandler, CorsConfigurationSource, Lifecycle, ServletContextAware
An HttpRequestHandler that allows mapping a SockJsService to requests in a Servlet container.
Since:
4.0
Author:
Rossen Stoyanchev, Sebastien Deleuze
  • Constructor Details

    • SockJsHttpRequestHandler

      public SockJsHttpRequestHandler(SockJsService sockJsService, WebSocketHandler webSocketHandler)
      Create a new SockJsHttpRequestHandler.
      Parameters:
      sockJsService - the SockJS service
      webSocketHandler - the websocket handler
  • Method Details