Top Description Interfaces Classes
module spring.websocket

Package org.springframework.web.socket

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Common abstractions and Spring configuration support for WebSocket applications.

Interface Summary

Modifier and TypeInterface and Description
public interface
SubProtocolCapable

An interface for WebSocket handlers that support sub-protocols as defined in RFC 6455.

public interface
WebSocketHandler

A handler for WebSocket messages and lifecycle events.

public interface
WebSocketMessage<
the payload type
T
>

A message that can be handled or sent on a WebSocket connection.

public interface
WebSocketSession

A WebSocket session abstraction.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractWebSocketMessage<
the payload type
T
>

A message that can be handled or sent on a WebSocket connection.

public class
BinaryMessage

A binary WebSocket message.

public class
CloseStatus

Represents a WebSocket close status code and reason.

public class
PingMessage

A WebSocket ping message.

public class
PongMessage

A WebSocket pong message.

public class
TextMessage

A text WebSocket message.

public class
WebSocketExtension

Represents a WebSocket extension as defined in the RFC 6455.

public class
WebSocketHttpHeaders

An org.springframework.http.HttpHeaders variant that adds support for the HTTP headers defined by the WebSocket specification RFC 6455.