org.springframework.web.socket

## Interface SubProtocolCapable

- All Known Implementing Classes:
    SubProtocolWebSocketHandler

      public interface SubProtocolCapable

  An interface for WebSocket handlers that support sub-protocols as defined in RFC 6455.
  Since:
    4.0
  Author:
    Rossen Stoyanchev
  See Also:
    `WebSocketHandler`, RFC-6455 section 1.9

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<String>` | `getSubProtocols()` Return the list of supported sub-protocols.

- - ### Method Detail

    - #### getSubProtocols

          List<String> getSubProtocols()

      Return the list of supported sub-protocols.