Apache HttpClient Documentation
repository·master·Indexed 23 days ago
https://github.com/apache/httpcomponents-clientA highly configurable and feature-rich HTTP client library for Java, part of the Apache HttpComponents project. It provides a robust client-side implementation for interacting with web services and servers, supporting multiple HTTP protocols and standards including HTTP/1.1, HTTP/2, and various IETF RFCs. Requires a Java 8 compatible runtime, Apache HttpComponents HttpCore, and SLF4J API.
What's inside Apache HttpClient
- Apache HttpClient is a component of the Apache HttpComponents project designed for handling HTTP communications. It provides a robust client-side implementation for interacting with web services and servers, supporting multiple HTTP protocols and standards.
Requirements and Dependencies for HttpClient
masterTo use the HttpClient main module, you must ensure your environment meets the following requirements:
- Runtime: A Java 8 compatible runtime.
Required External Libraries:
Note that other dependencies may be required for specific features; refer to the
pom.xmlfile for a complete list of optional and required dependencies.Protocol Conformance and Standards Supported
masterApache HttpClient adheres to several IETF RFC standards to ensure correct HTTP behavior. Supported protocols and mechanisms include:
- HTTP Semantics: RFC 9110
- HTTP Caching: RFC 9111
- HTTP/1.1: RFC 9112
- HTTP/2: RFC 9113
- HPACK (Header Compression for HTTP/2): RFC 7541
- HTTP/1.0: RFC 1945
- URI Syntax: RFC 3986
- Cookies (State Management): RFC 6265
- Digest Authentication: RFC 7616
- Basic Authentication: RFC 7617
- Cache-Control Extensions: RFC 5861
- TLS Upgrading within HTTP/1.1: RFC 2817
- Extensible Prioritization Scheme: RFC 9218
- SCRAM Authentication: RFC 7804
- HTTP QUERY Method: RFC 10008