| Package | Description | 
|---|---|
| org.apache.hc.core5.http | Core HTTP transport component APIs. | 
| 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) | 
| 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  URIHostinstance from string. | 
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.