# Package org.springframework.web.socket

Common abstractions and Spring configuration support for WebSocket applications.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  SubProtocolCapable | An interface for WebSocket handlers that support sub-protocols as defined in RFC 6455.
  WebSocketHandler | A handler for WebSocket messages and lifecycle events.
  WebSocketMessage<T> | A message that can be handled or sent on a WebSocket connection.
  WebSocketSession | A WebSocket session abstraction.

- Class Summary
  Class | Description
  --- | ---
  AbstractWebSocketMessage<T> | A message that can be handled or sent on a WebSocket connection.
  BinaryMessage | A binary WebSocket message.
  CloseStatus | Represents a WebSocket close status code and reason.
  PingMessage | A WebSocket ping message.
  PongMessage | A WebSocket pong message.
  TextMessage | A text WebSocket message.
  WebSocketExtension | Represents a WebSocket extension as defined in the RFC 6455.
  WebSocketHttpHeaders | An `HttpHeaders` variant that adds support for the HTTP headers defined by the WebSocket specification RFC 6455.

## Package org.springframework.web.socket Description

Common abstractions and Spring configuration support for WebSocket applications.