Interface AcceptContentRoute<A>

Type Parameters:
A - the resource type
All Superinterfaces:
Route<A>

public interface AcceptContentRoute<A> extends Route<A>

An accept content route.

This is used to define route based on the content accepted by an input. For instance, in order to resolve a handler for an HTTP request with accept: application/json header, an accept content route must be defined with media type application/json targeting the handler producing application/json content.

Since:
1.12
Author:
Jeremy Kuhn
See Also: