| 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.message | Core HTTP message components, message element parser
 and writer APIs and their default implementations. | 
| org.apache.hc.core5.http.protocol | Core HTTP protocol interceptors. | 
| org.apache.hc.core5.http.support | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LengthRequiredExceptionSignals message rejection due to missing content length. | 
| class  | MethodNotSupportedExceptionSignals that an HTTP method is not supported. | 
| class  | MisdirectedRequestExceptionSignals a misdirected request (the server is not authoritative to handle the request). | 
| class  | NotImplementedExceptionSignals an unsupported / unimplemented feature of the HTTP protocol. | 
| class  | ParseExceptionSignals a protocol exception due to failure to parse a message element. | 
| class  | RequestHeaderFieldsTooLargeExceptionSignals request header field length or total field size violation. | 
| class  | UnsupportedHttpVersionExceptionSignals an unsupported version of the HTTP protocol. | 
| Modifier and Type | Method and Description | 
|---|---|
| Header | MessageHeaders. getHeader(String name)Gets single first header with the given name. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static HttpHost | AsyncRequester. defaultTarget(HttpRequest request) | 
| Modifier and Type | Method and Description | 
|---|---|
| Header | HeaderGroup. getHeader(String name)Gets single first header with the given name. | 
| Header | AbstractMessageWrapper. getHeader(String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ViaRequest. process(HttpRequest request,
       EntityDetails entity,
       HttpContext context)Adds the HTTP  HttpHeaders.VIAheader to the request if it does not already exist. | 
| void | RequestContent. validateOptionsContentType(HttpRequest request)Validates the presence of the Content-Type header for an OPTIONS request. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Expectation | ExpectSupport. parse(HttpRequest request,
     EntityDetails entityDetails) | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.