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

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

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

An authority route extractor.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    authority(String authority)
    Sets the extractor to extract routes defined with the specified authority.
    authorityPattern(Pattern authorityPattern)
    Sets the extractor to extract routes defined with the specified authority pattern.

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

    getRoutes, set
  • Method Details

    • authority

      C authority(String authority)

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

      Parameters:
      authority - an authority
      Returns:
      a route extractor
    • authorityPattern

      C authorityPattern(Pattern authorityPattern)

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

      Parameters:
      authorityPattern - an authority pattern
      Returns:
      a route extractor