Class UriPathRouter.OrderedMatcher<T>

java.lang.Object
org.apache.hc.core5.http.impl.routing.UriPathRouter.OrderedMatcher<T>
All Implemented Interfaces:
BiFunction<String, List<PathRoute<String,T>>, T>
Enclosing class:
UriPathRouter<P,T>

static final class UriPathRouter.OrderedMatcher<T> extends Object implements BiFunction<String, List<PathRoute<String,T>>, T>
Finds a match for the given path from an ordered collection of URI patterns.

Patterns may have three formats:

  • *
  • *<uri-path>
  • <uri-path>*

This class has no instance state.