Interface WebSocketProtocolAware

All Known Subinterfaces:
WebSocketRoute<A>

public interface WebSocketProtocolAware

Specifies criteria required to match WebSocket upgrade requests based on accepted subprotocols.

Since:
1.5
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a WebSocket subprotocol.
  • Method Details

    • getSubProtocol

      String getSubProtocol()

      Returns a WebSocket subprotocol.

      Returns:
      a WebSocket subprotocol or null