Uses of Class
org.apache.hc.core5.net.URIAuthority
Packages that use URIAuthority
Package
Description
Core HTTP transport component APIs.
HTTP/1.1 requester and server bootstrap.
Support classes for the classic (blocking) I/O model.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
Support classes for the asynchronous I/O model.
Core network component APIs and utilities.
-
Uses of URIAuthority in org.apache.hc.core5.http
Methods in org.apache.hc.core5.http that return URIAuthorityModifier and TypeMethodDescriptionHttpRequest.getAuthority()Returns authority of this request message.Methods in org.apache.hc.core5.http with parameters of type URIAuthorityModifier and TypeMethodDescriptionvoidHttpRequest.setAuthority(URIAuthority authority) Sets authority of this request message.Constructors in org.apache.hc.core5.http with parameters of type URIAuthority -
Uses of URIAuthority in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap with type parameters of type URIAuthorityModifier and TypeFieldDescriptionprivate BiFunction<String, URIAuthority, URIAuthority> AsyncServerBootstrap.authorityResolverprivate BiFunction<String, URIAuthority, URIAuthority> AsyncServerBootstrap.authorityResolverprivate BiFunction<String, URIAuthority, URIAuthority> ServerBootstrap.authorityResolverprivate BiFunction<String, URIAuthority, URIAuthority> ServerBootstrap.authorityResolverMethod parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type URIAuthorityModifier and TypeMethodDescriptionfinal AsyncServerBootstrapAsyncServerBootstrap.setAuthorityResolver(BiFunction<String, URIAuthority, URIAuthority> authorityResolver) Sets authority resolver to be used when creating theRequestRouter.final AsyncServerBootstrapAsyncServerBootstrap.setAuthorityResolver(BiFunction<String, URIAuthority, URIAuthority> authorityResolver) Sets authority resolver to be used when creating theRequestRouter.final ServerBootstrapServerBootstrap.setAuthorityResolver(BiFunction<String, URIAuthority, URIAuthority> authorityResolver) Sets authority resolver to be used when creating theRequestRouter.final ServerBootstrapServerBootstrap.setAuthorityResolver(BiFunction<String, URIAuthority, URIAuthority> authorityResolver) Sets authority resolver to be used when creating theRequestRouter. -
Uses of URIAuthority in org.apache.hc.core5.http.impl.routing
Classes in org.apache.hc.core5.http.impl.routing that implement interfaces with type arguments of type URIAuthorityModifier and TypeClassDescription(package private) static final classFields in org.apache.hc.core5.http.impl.routing declared as URIAuthorityModifier and TypeFieldDescriptionstatic final URIAuthorityRequestRouter.LOCAL_AUTHORITYprivate final URIAuthorityRequestRouter.SingleAuthorityResolver.singleAuthorityfinal URIAuthorityRequestRouter.Entry.uriAuthorityFields in org.apache.hc.core5.http.impl.routing with type parameters of type URIAuthorityModifier and TypeFieldDescriptionprivate final BiFunction<String, URIAuthority, URIAuthority> RequestRouter.authorityResolverprivate final BiFunction<String, URIAuthority, URIAuthority> RequestRouter.authorityResolverprivate BiFunction<String, URIAuthority, URIAuthority> RequestRouter.Builder.authorityResolverprivate BiFunction<String, URIAuthority, URIAuthority> RequestRouter.Builder.authorityResolverprivate final Function<URIAuthority, Function<String, T>> RequestRouter.authorityRouterstatic final BiFunction<String, URIAuthority, URIAuthority> RequestRouter.IGNORE_PORT_AUTHORITY_RESOLVERstatic final BiFunction<String, URIAuthority, URIAuthority> RequestRouter.IGNORE_PORT_AUTHORITY_RESOLVERstatic final BiFunction<String, URIAuthority, URIAuthority> RequestRouter.LOCAL_AUTHORITY_RESOLVERstatic final BiFunction<String, URIAuthority, URIAuthority> RequestRouter.LOCAL_AUTHORITY_RESOLVERMethods in org.apache.hc.core5.http.impl.routing that return types with arguments of type URIAuthorityModifier and TypeMethodDescription(package private) static final <T> Function<URIAuthority, T> RequestRouter.noAuthorityResolver()Methods in org.apache.hc.core5.http.impl.routing with parameters of type URIAuthorityModifier and TypeMethodDescriptionRequestRouter.Builder.addRoute(URIAuthority authority, String pathPattern, T handler) Adds a route with given authority and path pattern.RequestRouter.SingleAuthorityResolver.apply(URIAuthority authority) static <T> RequestRouter<T> RequestRouter.create(URIAuthority primaryAuthority, UriPatternType patternType, List<RequestRouter.Entry<T>> handlerEntries, BiFunction<String, URIAuthority, URIAuthority> authorityResolver, HttpRequestMapper<T> downstream) Method parameters in org.apache.hc.core5.http.impl.routing with type arguments of type URIAuthorityModifier and TypeMethodDescriptionstatic <T> RequestRouter<T> RequestRouter.create(URIAuthority primaryAuthority, UriPatternType patternType, List<RequestRouter.Entry<T>> handlerEntries, BiFunction<String, URIAuthority, URIAuthority> authorityResolver, HttpRequestMapper<T> downstream) static <T> RequestRouter<T> RequestRouter.create(URIAuthority primaryAuthority, UriPatternType patternType, List<RequestRouter.Entry<T>> handlerEntries, BiFunction<String, URIAuthority, URIAuthority> authorityResolver, HttpRequestMapper<T> downstream) 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.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.Constructors in org.apache.hc.core5.http.impl.routing with parameters of type URIAuthorityModifierConstructorDescriptionEntry(URIAuthority uriAuthority, String pathPattern, T handler) (package private)SingleAuthorityResolver(URIAuthority singleAuthority, T router) Constructor parameters in org.apache.hc.core5.http.impl.routing with type arguments of type URIAuthorityModifierConstructorDescription(package private)RequestRouter(Function<URIAuthority, Function<String, T>> authorityRouter, BiFunction<String, URIAuthority, URIAuthority> authorityResolver, HttpRequestMapper<T> downstream) (package private)RequestRouter(Function<URIAuthority, Function<String, T>> authorityRouter, BiFunction<String, URIAuthority, URIAuthority> authorityResolver, HttpRequestMapper<T> downstream) (package private)RequestRouter(Function<URIAuthority, Function<String, T>> authorityRouter, BiFunction<String, URIAuthority, URIAuthority> authorityResolver, HttpRequestMapper<T> downstream) -
Uses of URIAuthority in org.apache.hc.core5.http.io.support
Methods in org.apache.hc.core5.http.io.support with parameters of type URIAuthorityModifier and TypeMethodDescriptionprotected abstract booleanAbstractHttpServerAuthFilter.authenticate(T challengeResponse, URIAuthority authority, String requestUri, HttpContext context) Authenticates the client using the authentication token sent by the client as a response to an authentication challenge.protected abstract StringAbstractHttpServerAuthFilter.generateChallenge(T challengeResponse, URIAuthority authority, String requestUri, HttpContext context) Generates an authentication challenge in case of unsuccessful authentication.ClassicRequestBuilder.setAuthority(URIAuthority authority) -
Uses of URIAuthority in org.apache.hc.core5.http.message
Fields in org.apache.hc.core5.http.message declared as URIAuthorityMethods in org.apache.hc.core5.http.message that return URIAuthorityModifier and TypeMethodDescriptionBasicHttpRequest.getAuthority()HttpRequestWrapper.getAuthority()Methods in org.apache.hc.core5.http.message with parameters of type URIAuthorityModifier and TypeMethodDescriptionvoidBasicHttpRequest.setAuthority(URIAuthority authority) voidHttpRequestWrapper.setAuthority(URIAuthority authority) Constructors in org.apache.hc.core5.http.message with parameters of type URIAuthorityModifierConstructorDescriptionBasicClassicHttpRequest(String method, String scheme, URIAuthority authority, String path) Creates request message with the given method, host and request path.BasicHttpRequest(String method, String scheme, URIAuthority authority, String path) Creates request message with the given method, host and request path. -
Uses of URIAuthority in org.apache.hc.core5.http.nio.support
Methods in org.apache.hc.core5.http.nio.support with parameters of type URIAuthorityModifier and TypeMethodDescriptionprotected abstract booleanAbstractAsyncServerAuthFilter.authenticate(T challengeResponse, URIAuthority authority, String requestUri, HttpContext context) Authenticates the client using the authentication token sent by the client as a response to an authentication challenge.protected abstract StringAbstractAsyncServerAuthFilter.generateChallenge(T challengeResponse, URIAuthority authority, String requestUri, HttpContext context) Generates an authentication challenge in case of unsuccessful authentication.AsyncRequestBuilder.setAuthority(URIAuthority authority) -
Uses of URIAuthority in org.apache.hc.core5.http.support
Fields in org.apache.hc.core5.http.support declared as URIAuthorityMethods in org.apache.hc.core5.http.support that return URIAuthorityMethods in org.apache.hc.core5.http.support with parameters of type URIAuthorityModifier and TypeMethodDescriptionAbstractRequestBuilder.setAuthority(URIAuthority authority) BasicRequestBuilder.setAuthority(URIAuthority authority) -
Uses of URIAuthority in org.apache.hc.core5.net
Methods in org.apache.hc.core5.net that return URIAuthorityModifier and TypeMethodDescriptionstatic URIAuthorityCreates aURIAuthorityinstance from a string.URIBuilder.getAuthority()Gets the authority.(package private) static URIAuthorityURIAuthority.parse(CharSequence s) (package private) static URIAuthorityURIAuthority.parse(CharSequence s, Tokenizer.Cursor cursor) Methods in org.apache.hc.core5.net with parameters of type URIAuthorityModifier and TypeMethodDescription(package private) static voidURIAuthority.format(StringBuilder buf, URIAuthority uriAuthority) (package private) static StringURIAuthority.format(URIAuthority uriAuthority) URIBuilder.setAuthority(URIAuthority authority) Sets the authority.
HttpHost(String, NamedEndpoint)