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

Type Parameters:
A - the resource type
B - the HTTP method route type
C - the HTTP method route extractor
All Superinterfaces:
RouteExtractor<A,B>
Enclosing interface:
MethodRoute<A>

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

An HTTP method route extractor.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    method(Method method)
    Sets the extractor to extract routes defined with the specified HTTP method.

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

    getRoutes, set
  • Method Details

    • method

      C method(Method method)

      Sets the extractor to extract routes defined with the specified HTTP method.

      Parameters:
      method - an HTTP method
      Returns:
      a route extractor