-
- All Implemented Interfaces:
public final class RoutingFetcher.RouteHolds a child fetcher and the predicate used to determine if it can answer a request.
The default value for accepts means that the fetcher will accept any link.
-
-
Constructor Summary
Constructors Constructor Description RoutingFetcher.Route(Fetcher fetcher, Function1<Link, Boolean> accepts)
-
Method Summary
Modifier and Type Method Description final FetchergetFetcher()final Function1<Link, Boolean>getAccepts()-
-
Method Detail
-
getFetcher
final Fetcher getFetcher()
-
getAccepts
final Function1<Link, Boolean> getAccepts()
-
-
-
-