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

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

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

A URI route extractor.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    uri(String uri)
    Sets the extractor to extract routes defined with the specified URI.
    uriPattern(URIPattern uriPattern)
    Sets the extractor to extract routes defined with the specified URI pattern.

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

    getRoutes, set
  • Method Details

    • uri

      C uri(String uri)

      Sets the extractor to extract routes defined with the specified URI.

      Parameters:
      uri - a URI
      Returns:
      a route extractor
    • uriPattern

      C uriPattern(URIPattern uriPattern)

      Sets the extractor to extract routes defined with the specified URI pattern.

      Parameters:
      uriPattern - a URI pattern
      Returns:
      a route extractor