Interface WebSocketSubprotocolRoute.Extractor<A,B extends WebSocketSubprotocolRoute<A>,C extends WebSocketSubprotocolRoute.Extractor<A,B,C>>

Type Parameters:
A - the resource type
B - the WebSocket subprotocol route type
C - the WebSocket subprotocol route extractor
All Superinterfaces:
RouteExtractor<A,B>
Enclosing interface:
WebSocketSubprotocolRoute<A>

public static interface WebSocketSubprotocolRoute.Extractor<A,B extends WebSocketSubprotocolRoute<A>,C extends WebSocketSubprotocolRoute.Extractor<A,B,C>> extends RouteExtractor<A,B>

A WebSocket subprotocol route extractor.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    subprotocol(String subprotocol)
    Sets the extractor to extract routes defined with the specified WebSocket subprotocol.

    Methods inherited from interface io.inverno.mod.http.base.router.RouteExtractor

    getRoutes, set
  • Method Details

    • subprotocol

      C subprotocol(String subprotocol)

      Sets the extractor to extract routes defined with the specified WebSocket subprotocol.

      Parameters:
      subprotocol - a WebSocket subprotocol
      Returns:
      a route extractor