Uses of Class
org.apache.hc.core5.http.impl.routing.RequestRouter.Builder
Packages that use RequestRouter.Builder
-
Uses of RequestRouter.Builder in org.apache.hc.core5.http.impl.routing
Methods in org.apache.hc.core5.http.impl.routing that return RequestRouter.BuilderModifier and TypeMethodDescriptionAdds a route with given hostname and path pattern.RequestRouter.Builder.addRoute(URIAuthority authority, String pathPattern, T handler) Adds a route with given authority and path pattern.static <T> RequestRouter.Builder<T> RequestRouter.builder()static <T> RequestRouter.Builder<T> RequestRouter.builder(UriPatternType patternType) RequestRouter.Builder.downstream(HttpRequestMapper<T> downstream) Sets a downstream request mapper that can be used as a fallback in case no authoritative service can be found to handle an incoming request.RequestRouter.Builder.resolveAuthority(BiFunction<String, URIAuthority, URIAuthority> authorityResolver) Sets customURIAuthorityresolutionFunctionthat can be used to normalize or re-write the authority specified in incoming requests prior to request routing.