Uses of Enum Class
org.miaixz.bus.http.Protocol
Packages that use Protocol
Package
Description
Java应用的HTTP客户端
-
Uses of Protocol in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return ProtocolModifier and TypeMethodDescriptionstatic ProtocolResponse.protocol()static ProtocolReturns the enum constant of this class with the specified name.static Protocol[]Protocol.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.miaixz.bus.http that return types with arguments of type ProtocolModifier and TypeMethodDescriptionAddress.protocols()Returns the protocols the client supports.Httpd.protocols()Methods in org.miaixz.bus.http with parameters of type ProtocolMethod parameters in org.miaixz.bus.http with type arguments of type ProtocolModifier and TypeMethodDescription配置此客户端使用的协议以与远程服务器通信。默认情况下,该客户机将选择最有效的传输方式 退回到更普遍的协议。应用程序应该只调用这个方法来避免特定的兼容性问题,比如在启用HTTP/2时web服务器的行为不正确.Constructor parameters in org.miaixz.bus.http with type arguments of type ProtocolModifierConstructorDescriptionAddress(String uriHost, int uriPort, DnsX dns, SocketFactory socketFactory, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, CertificatePinner certificatePinner, Authenticator proxyAuthenticator, Proxy proxy, List<Protocol> protocols, List<ConnectionSuite> connectionSuites, ProxySelector proxySelector) -
Uses of Protocol in org.miaixz.bus.http.accord
Methods in org.miaixz.bus.http.accord that return Protocol -
Uses of Protocol in org.miaixz.bus.http.accord.platform
Method parameters in org.miaixz.bus.http.accord.platform with type arguments of type ProtocolModifier and TypeMethodDescriptionPlatform.alpnProtocolNames(List<Protocol> protocols) voidJdkPlatform.configureTlsExtensions(SSLSocket sslSocket, String hostname, List<Protocol> protocols) voidPlatform.configureTlsExtensions(SSLSocket sslSocket, String hostname, List<Protocol> protocols) 在sslSocket上为route配置TLS扩展 -
Uses of Protocol in org.miaixz.bus.http.metric
Methods in org.miaixz.bus.http.metric with parameters of type ProtocolModifier and TypeMethodDescriptionvoidEventListener.connectEnd(NewCall call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) 在尝试套接字连接后立即调用.voidEventListener.connectFailed(NewCall call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol, IOException ioe) 连接尝试失败时调用。如果有进一步的路由可用并且启用了故障恢复,则此故障不是终端. -
Uses of Protocol in org.miaixz.bus.http.metric.http
Fields in org.miaixz.bus.http.metric.http declared as ProtocolMethods in org.miaixz.bus.http.metric.http with parameters of type ProtocolModifier and TypeMethodDescriptionstatic Response.BuilderHttp2Codec.readHttp2HeadersList(Headers headerBlock, Protocol protocol) Returns headers for a name value block containing an HTTP/2 response.Constructors in org.miaixz.bus.http.metric.http with parameters of type Protocol -
Uses of Protocol in org.miaixz.bus.http.plugin.httpz
Method parameters in org.miaixz.bus.http.plugin.httpz with type arguments of type Protocol