Package org.miaixz.bus.http.metric
Class Internal
java.lang.Object
org.miaixz.bus.http.metric.Internal
Escalate internal APIs in
http so they can be used from Http's implementation packages. The only
implementation of this interface is in Httpd.- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddLenient(Headers.Builder builder, String line) abstract voidaddLenient(Headers.Builder builder, String name, String value) abstract voidapply(ConnectionSuite tlsConfiguration, SSLSocket sslSocket, boolean isFallback) abstract intcode(Response.Builder responseBuilder) abstract booleanequalsNonHost(Address a, Address b) abstract Exchangeabstract voidinitExchange(Response.Builder responseBuilder, Exchange exchange) abstract NewCallnewWebSocketCall(Httpd client, Request request) abstract RealConnectionPoolrealConnectionPool(ConnectionPool connectionPool)
-
Field Details
-
instance
-
-
Constructor Details
-
Internal
public Internal()
-
-
Method Details
-
addLenient
-
addLenient
-
realConnectionPool
-
equalsNonHost
-
code
-
apply
public abstract void apply(ConnectionSuite tlsConfiguration, SSLSocket sslSocket, boolean isFallback) -
newWebSocketCall
-
initExchange
-
exchange
-