Interface URIRoute<A>

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

public interface URIRoute<A> extends Route<A>

A URI route.

This is used to define route based on the URI specified in an input. For instance, in order to resolve the socket address targeted by the URI http://sampleHost, a URI route must be defined with http://sampleHost URI targeting a resolved socket address.

Since:
1.12
Author:
Jeremy Kuhn
See Also:
  • Method Details

    • getURI

      String getURI()

      Returns a URI.

      Returns:
      a URI
    • getURIPattern

      URIPattern getURIPattern()

      Returns a URI pattern.

      Returns:
      a URI pattern or null