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

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

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

An accept language route extractor.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    language(String language)
    Sets the extractor to extract routes defined with the specified accepted language tag or language range.

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

    getRoutes, set
  • Method Details

    • language

      C language(String language)

      Sets the extractor to extract routes defined with the specified accepted language tag or language range.

      Parameters:
      language - a language tag or a language range
      Returns:
      a route extractor