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

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

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

An accept content route extractor.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

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

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

    getRoutes, set
  • Method Details

    • accept

      C accept(String accept)

      Sets the extractor to extract routes defined with the specified accepted media type or media range.

      Parameters:
      accept - a media type or a media range
      Returns:
      a route extractor