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

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

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

A path route extractor.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    path(String path)
    Sets the extractor to extract routes defined with the specified absolute path.
    pathPattern(URIPattern pathPattern)
    Sets the extractor to extract routes defined with the specified absolute path pattern.

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

    getRoutes, set
  • Method Details

    • path

      C path(String path)

      Sets the extractor to extract routes defined with the specified absolute path.

      Parameters:
      path - an absolute path
      Returns:
      a route extractor
    • pathPattern

      C pathPattern(URIPattern pathPattern)

      Sets the extractor to extract routes defined with the specified absolute path pattern.

      Parameters:
      pathPattern - an absolute path pattern
      Returns:
      a route extractor