Uses of Class
org.apache.hc.core5.net.URIAuthority
-
Packages that use URIAuthority Package Description org.apache.hc.core5.http Core HTTP transport component APIs.org.apache.hc.core5.http.impl.bootstrap HTTP/1.1 requester and server bootstrap.org.apache.hc.core5.http.impl.routing org.apache.hc.core5.http.io.support Support classes for the classic (blocking) I/O model.org.apache.hc.core5.http.message Core HTTP message components, message element parser and writer APIs and their default implementations.org.apache.hc.core5.http.nio.support Support classes for the asynchronous I/O model.org.apache.hc.core5.http.support org.apache.hc.core5.net Core network component APIs and utilities. -
-
Uses of URIAuthority in org.apache.hc.core5.http
Methods in org.apache.hc.core5.http that return URIAuthority Modifier and Type Method Description URIAuthorityHttpRequest. getAuthority()Returns authority of this request message.Methods in org.apache.hc.core5.http with parameters of type URIAuthority Modifier and Type Method Description voidHttpRequest. setAuthority(URIAuthority authority)Sets authority of this request message.Constructors in org.apache.hc.core5.http with parameters of type URIAuthority Constructor Description HttpHost(URIAuthority authority)Deprecated. -
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 URIAuthority Modifier and Type Field Description private java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>AsyncServerBootstrap. authorityResolverprivate java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>AsyncServerBootstrap. authorityResolverprivate java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>ServerBootstrap. authorityResolverprivate java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>ServerBootstrap. authorityResolverMethod parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type URIAuthority Modifier and Type Method Description AsyncServerBootstrapAsyncServerBootstrap. setAuthorityResolver(java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver)Sets authority resolver to be used when creating theRequestRouter.AsyncServerBootstrapAsyncServerBootstrap. setAuthorityResolver(java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver)Sets authority resolver to be used when creating theRequestRouter.ServerBootstrapServerBootstrap. setAuthorityResolver(java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver)Sets authority resolver to be used when creating theRequestRouter.ServerBootstrapServerBootstrap. setAuthorityResolver(java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver)Sets authority resolver to be used when creating theRequestRouter. -
Uses of URIAuthority in org.apache.hc.core5.http.impl.routing
Fields in org.apache.hc.core5.http.impl.routing declared as URIAuthority Modifier and Type Field Description static URIAuthorityRequestRouter. LOCAL_AUTHORITYprivate URIAuthorityRequestRouter.SingleAuthorityResolver. singleAuthorityURIAuthorityRequestRouter.Entry. uriAuthorityFields in org.apache.hc.core5.http.impl.routing with type parameters of type URIAuthority Modifier and Type Field Description private java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>RequestRouter. authorityResolverprivate java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>RequestRouter. authorityResolverprivate java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>RequestRouter.Builder. authorityResolverprivate java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>RequestRouter.Builder. authorityResolverprivate java.util.function.Function<URIAuthority,java.util.function.Function<java.lang.String,T>>RequestRouter. authorityRouterstatic java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>RequestRouter. IGNORE_PORT_AUTHORITY_RESOLVERstatic java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>RequestRouter. IGNORE_PORT_AUTHORITY_RESOLVERstatic java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>RequestRouter. LOCAL_AUTHORITY_RESOLVERstatic java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority>RequestRouter. LOCAL_AUTHORITY_RESOLVERMethods in org.apache.hc.core5.http.impl.routing that return types with arguments of type URIAuthority Modifier and Type Method Description (package private) static <T> java.util.function.Function<URIAuthority,T>RequestRouter. noAuthorityResolver()Methods in org.apache.hc.core5.http.impl.routing with parameters of type URIAuthority Modifier and Type Method Description RequestRouter.Builder<T>RequestRouter.Builder. addRoute(URIAuthority authority, java.lang.String pathPattern, T handler)Adds a route with given authority and path pattern.TRequestRouter.SingleAuthorityResolver. apply(URIAuthority authority)static <T> RequestRouter<T>RequestRouter. create(URIAuthority primaryAuthority, UriPatternType patternType, java.util.List<RequestRouter.Entry<T>> handlerEntries, java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver, HttpRequestMapper<T> downstream)Method parameters in org.apache.hc.core5.http.impl.routing with type arguments of type URIAuthority Modifier and Type Method Description static <T> RequestRouter<T>RequestRouter. create(URIAuthority primaryAuthority, UriPatternType patternType, java.util.List<RequestRouter.Entry<T>> handlerEntries, java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver, HttpRequestMapper<T> downstream)static <T> RequestRouter<T>RequestRouter. create(URIAuthority primaryAuthority, UriPatternType patternType, java.util.List<RequestRouter.Entry<T>> handlerEntries, java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver, HttpRequestMapper<T> downstream)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.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.Constructors in org.apache.hc.core5.http.impl.routing with parameters of type URIAuthority Constructor Description Entry(URIAuthority uriAuthority, java.lang.String pathPattern, T handler)SingleAuthorityResolver(URIAuthority singleAuthority, T router)Constructor parameters in org.apache.hc.core5.http.impl.routing with type arguments of type URIAuthority Constructor Description RequestRouter(java.util.function.Function<URIAuthority,java.util.function.Function<java.lang.String,T>> authorityRouter, java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver, HttpRequestMapper<T> downstream)RequestRouter(java.util.function.Function<URIAuthority,java.util.function.Function<java.lang.String,T>> authorityRouter, java.util.function.BiFunction<java.lang.String,URIAuthority,URIAuthority> authorityResolver, HttpRequestMapper<T> downstream)RequestRouter(java.util.function.Function<URIAuthority,java.util.function.Function<java.lang.String,T>> authorityRouter, java.util.function.BiFunction<java.lang.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 URIAuthority Modifier and Type Method Description protected abstract booleanAbstractHttpServerAuthFilter. authenticate(T challengeResponse, URIAuthority authority, java.lang.String requestUri, HttpContext context)Authenticates the client using the authentication token sent by the client as a response to an authentication challenge.protected abstract java.lang.StringAbstractHttpServerAuthFilter. generateChallenge(T challengeResponse, URIAuthority authority, java.lang.String requestUri, HttpContext context)Generates an authentication challenge in case of unsuccessful authentication.ClassicRequestBuilderClassicRequestBuilder. setAuthority(URIAuthority authority) -
Uses of URIAuthority in org.apache.hc.core5.http.message
Fields in org.apache.hc.core5.http.message declared as URIAuthority Modifier and Type Field Description private URIAuthorityBasicHttpRequest. authorityMethods in org.apache.hc.core5.http.message that return URIAuthority Modifier and Type Method Description URIAuthorityBasicHttpRequest. getAuthority()URIAuthorityHttpRequestWrapper. getAuthority()Methods in org.apache.hc.core5.http.message with parameters of type URIAuthority Modifier and Type Method Description voidBasicHttpRequest. setAuthority(URIAuthority authority)voidHttpRequestWrapper. setAuthority(URIAuthority authority)Constructors in org.apache.hc.core5.http.message with parameters of type URIAuthority Constructor Description BasicClassicHttpRequest(java.lang.String method, java.lang.String scheme, URIAuthority authority, java.lang.String path)Creates request message with the given method, host and request path.BasicHttpRequest(java.lang.String method, java.lang.String scheme, URIAuthority authority, java.lang.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 URIAuthority Modifier and Type Method Description protected abstract booleanAbstractAsyncServerAuthFilter. authenticate(T challengeResponse, URIAuthority authority, java.lang.String requestUri, HttpContext context)Authenticates the client using the authentication token sent by the client as a response to an authentication challenge.protected abstract java.lang.StringAbstractAsyncServerAuthFilter. generateChallenge(T challengeResponse, URIAuthority authority, java.lang.String requestUri, HttpContext context)Generates an authentication challenge in case of unsuccessful authentication.AsyncRequestBuilderAsyncRequestBuilder. setAuthority(URIAuthority authority) -
Uses of URIAuthority in org.apache.hc.core5.http.support
Fields in org.apache.hc.core5.http.support declared as URIAuthority Modifier and Type Field Description private URIAuthorityAbstractRequestBuilder. authorityMethods in org.apache.hc.core5.http.support that return URIAuthority Modifier and Type Method Description URIAuthorityAbstractRequestBuilder. getAuthority()Methods in org.apache.hc.core5.http.support with parameters of type URIAuthority Modifier and Type Method Description AbstractRequestBuilder<T>AbstractRequestBuilder. setAuthority(URIAuthority authority)BasicRequestBuilderBasicRequestBuilder. setAuthority(URIAuthority authority) -
Uses of URIAuthority in org.apache.hc.core5.net
Methods in org.apache.hc.core5.net that return URIAuthority Modifier and Type Method Description static URIAuthorityURIAuthority. create(java.lang.String s)Creates aURIAuthorityinstance from a string.URIAuthorityURIBuilder. getAuthority()Gets the authority.(package private) static URIAuthorityURIAuthority. parse(java.lang.CharSequence s)(package private) static URIAuthorityURIAuthority. parse(java.lang.CharSequence s, Tokenizer.Cursor cursor)Methods in org.apache.hc.core5.net with parameters of type URIAuthority Modifier and Type Method Description (package private) static voidURIAuthority. format(java.lang.StringBuilder buf, URIAuthority uriAuthority)(package private) static java.lang.StringURIAuthority. format(URIAuthority uriAuthority)URIBuilderURIBuilder. setAuthority(URIAuthority authority)Sets the authority.
-