接口 SubProtocolCapable
public interface SubProtocolCapable
An interface for WebSocket handlers that support sub-protocols as defined in RFC 6455.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
- 另请参阅:
WebSocketHandler
, RFC-6455 section 1.9
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 List<String>
getSubProtocols()
Return the list of supported sub-protocols.
方法详细资料
getSubProtocols
List<String> getSubProtocols()
Return the list of supported sub-protocols.