| Package | Description | 
|---|---|
| org.apache.hc.core5.http | Core HTTP transport component APIs. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| URIAuthority | HttpRequest. getAuthority()Returns authority of this request message. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HttpRequest. setAuthority(URIAuthority authority)Sets authority of this request message. | 
| Constructor and Description | 
|---|
| HttpHost(URIAuthority authority)Deprecated. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
| static URIAuthority | RequestRouter. LOCAL_AUTHORITY | 
| URIAuthority | RequestRouter.Entry. uriAuthority | 
| Modifier and Type | Field and Description | 
|---|---|
| static BiFunction<String,URIAuthority,URIAuthority> | RequestRouter. IGNORE_PORT_AUTHORITY_RESOLVER | 
| static BiFunction<String,URIAuthority,URIAuthority> | RequestRouter. IGNORE_PORT_AUTHORITY_RESOLVER | 
| static BiFunction<String,URIAuthority,URIAuthority> | RequestRouter. LOCAL_AUTHORITY_RESOLVER | 
| static BiFunction<String,URIAuthority,URIAuthority> | RequestRouter. LOCAL_AUTHORITY_RESOLVER | 
| Modifier and Type | Method and Description | 
|---|---|
| RequestRouter.Builder<T> | RequestRouter.Builder. addRoute(URIAuthority authority,
        String pathPattern,
        T handler)Adds a route with given authority and path pattern. | 
| static <T> RequestRouter<T> | RequestRouter. create(URIAuthority primaryAuthority,
      UriPatternType patternType,
      List<RequestRouter.Entry<T>> handlerEntries,
      BiFunction<String,URIAuthority,URIAuthority> authorityResolver,
      HttpRequestMapper<T> downstream) | 
| Modifier and Type | Method and Description | 
|---|---|
| static <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<T> | RequestRouter.Builder. resolveAuthority(BiFunction<String,URIAuthority,URIAuthority> authorityResolver)Sets custom  URIAuthorityresolutionFunctionthat can be used to normalize or re-write
 the authority specified in incoming requests prior to request routing. | 
| RequestRouter.Builder<T> | RequestRouter.Builder. resolveAuthority(BiFunction<String,URIAuthority,URIAuthority> authorityResolver)Sets custom  URIAuthorityresolutionFunctionthat can be used to normalize or re-write
 the authority specified in incoming requests prior to request routing. | 
| Constructor and Description | 
|---|
| Entry(URIAuthority uriAuthority,
     String pathPattern,
     T handler) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract boolean | AbstractHttpServerAuthFilter. 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 String | AbstractHttpServerAuthFilter. generateChallenge(T challengeResponse,
                 URIAuthority authority,
                 String requestUri,
                 HttpContext context)Generates an authentication challenge in case of unsuccessful authentication. | 
| ClassicRequestBuilder | ClassicRequestBuilder. setAuthority(URIAuthority authority) | 
| Modifier and Type | Method and Description | 
|---|---|
| URIAuthority | BasicHttpRequest. getAuthority() | 
| URIAuthority | HttpRequestWrapper. getAuthority() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BasicHttpRequest. setAuthority(URIAuthority authority) | 
| void | HttpRequestWrapper. setAuthority(URIAuthority authority) | 
| Constructor and Description | 
|---|
| BasicClassicHttpRequest(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. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract boolean | AbstractAsyncServerAuthFilter. 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 String | AbstractAsyncServerAuthFilter. generateChallenge(T challengeResponse,
                 URIAuthority authority,
                 String requestUri,
                 HttpContext context)Generates an authentication challenge in case of unsuccessful authentication. | 
| AsyncRequestBuilder | AsyncRequestBuilder. setAuthority(URIAuthority authority) | 
| Modifier and Type | Method and Description | 
|---|---|
| URIAuthority | AbstractRequestBuilder. getAuthority() | 
| Modifier and Type | Method and Description | 
|---|---|
| AbstractRequestBuilder<T> | AbstractRequestBuilder. setAuthority(URIAuthority authority) | 
| BasicRequestBuilder | BasicRequestBuilder. setAuthority(URIAuthority authority) | 
| Modifier and Type | Method and Description | 
|---|---|
| static URIAuthority | URIAuthority. create(String s)Creates a  URIAuthorityinstance from a string. | 
| URIAuthority | URIBuilder. getAuthority()Gets the authority. | 
| Modifier and Type | Method and Description | 
|---|---|
| URIBuilder | URIBuilder. setAuthority(URIAuthority authority)Sets the authority. | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.