Uses of Class
org.apache.hc.core5.http.impl.routing.RequestRouter.Builder
-
Packages that use RequestRouter.Builder Package Description org.apache.hc.core5.http.impl.routing -
-
Uses of RequestRouter.Builder in org.apache.hc.core5.http.impl.routing
Methods in org.apache.hc.core5.http.impl.routing that return RequestRouter.Builder Modifier and Type Method Description RequestRouter.Builder<T>RequestRouter.Builder. addRoute(java.lang.String hostname, java.lang.String pathPattern, T handler)Adds a route with given hostname and path pattern.RequestRouter.Builder<T>RequestRouter.Builder. addRoute(URIAuthority authority, java.lang.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<T>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<T>RequestRouter.Builder. resolveAuthority(java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver)Sets customURIAuthorityresolutionFunctionthat can be used to normalize or re-write the authority specified in incoming requests prior to request routing.
-