Module bus.http
Package org.miaixz.bus.http.accord
package org.miaixz.bus.http.accord
Provides internal implementation details for the HTTP client, including connection management, streams, and routing.
- Since:
- Java 17+
- Author:
- Kimi Liu
-
ClassDescriptionAn interceptor that opens a connection to the target server and proceeds to the next interceptor.The socket and streams of an HTTP, HTTPS, or HTTPS+HTTP/2 connection.Manages reuse of HTTP and HTTP/2 connections for reduced network latency.Handles the fallback strategy for connection specifications: when a secure socket connection fails due to a handshake or protocol issue, the connection may be retried with a different protocol.Specifies the configuration for a socket connection over which HTTP is transported.A builder for creating
ConnectionSuiteinstances.Transmits a single HTTP request and a response pair.A concrete connection to a target server (either directly or via a proxy).Manages reuse of HTTP and HTTP/2 connections for reduced network latency.A blacklist of failed routes to avoid when creating new connections to a target address.An exception thrown to indicate a problem connecting via a single route.Selects routes to connect to an origin server.A selection of routes to try.Bridges the application layer with the network layer, managing the lifecycle of a single call.