Interface AcceptContentRoute.Manager<A,B,C extends AcceptContentRoute<A>,D extends AcceptContentRoute.Manager<A,B,C,D,E>,E extends Router<A,B,C,D,E>>

Type Parameters:
A - the resource type
B - the input type
C - the accept content route type
D - the accept content route manager type
E - the router type
All Superinterfaces:
RouteManager<A,B,C,D,E>
Enclosing interface:
AcceptContentRoute<A>

public static interface AcceptContentRoute.Manager<A,B,C extends AcceptContentRoute<A>,D extends AcceptContentRoute.Manager<A,B,C,D,E>,E extends Router<A,B,C,D,E>> extends RouteManager<A,B,C,D,E>

An accept content route manager.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    accept(String accept)
    Specifies the media type or media range matching the content accepted by an input.

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

    disable, enable, findRoutes, remove, set, set, set
  • Method Details

    • accept

      D accept(String accept)

      Specifies the media type or media range matching the content accepted by an input.

      Parameters:
      accept - a media type or a media range
      Returns:
      the route manager