spring-framework / org.springframework.web.socket.sockjs.support

Package org.springframework.web.socket.sockjs.support

Types

AbstractSockJsService

abstract class AbstractSockJsService : SockJsService, CorsConfigurationSource

An abstract base class for SockJsService implementations that provides SockJS path resolution and handling of static SockJS requests (e.g. "/info", "/iframe.html", etc). Sub-classes must handle session URLs (i.e. transport-specific requests). By default, only same origin requests are allowed. Use #setAllowedOrigins to specify a list of allowed origins (a list containing "*" will allow all origins).

SockJsHttpRequestHandler

open class SockJsHttpRequestHandler : HttpRequestHandler, CorsConfigurationSource, Lifecycle, ServletContextAware

An HttpRequestHandler that allows mapping a SockJsService to requests in a Servlet container.