枚举类的使用
com.lark.oapi.okhttp.Protocol
使用Protocol的程序包
程序包
说明
An HTTP+HTTP/2 client for Android and Java applications.
-
com.lark.oapi.okhttp中Protocol的使用
返回Protocol的com.lark.oapi.okhttp中的方法修饰符和类型方法说明static ProtocolReturns the protocol identified byprotocol.Connection.protocol()Returns the protocol negotiated by this connection, orHTTP_1_1if no protocol has been negotiated.Response.protocol()static Protocol返回带有指定名称的该类的枚举常量。static Protocol[]Protocol.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同返回变量类型为Protocol的类型的com.lark.oapi.okhttp中的方法修饰符和类型方法说明Address.protocols()Returns the protocols the client supports.OkHttpClient.protocols()参数类型为Protocol的com.lark.oapi.okhttp中的方法修饰符和类型方法说明voidEventListener.connectEnd(Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) Invoked immediately after a socket connection was attempted.voidEventListener.connectFailed(Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol, IOException ioe) Invoked when a connection attempt fails.类型变量类型为Protocol的com.lark.oapi.okhttp中的方法参数修饰符和类型方法说明Configure the protocols used by this client to communicate with remote servers.类型变量类型为Protocol的com.lark.oapi.okhttp中的构造器参数限定符构造器说明Address(String uriHost, int uriPort, Dns dns, SocketFactory socketFactory, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, CertificatePinner certificatePinner, Authenticator proxyAuthenticator, Proxy proxy, List<Protocol> protocols, List<ConnectionSpec> connectionSpecs, ProxySelector proxySelector) -
com.lark.oapi.okhttp.internal.connection中Protocol的使用
-
com.lark.oapi.okhttp.internal.http中Protocol的使用
参数类型为Protocol的com.lark.oapi.okhttp.internal.http中的构造器 -
com.lark.oapi.okhttp.internal.http2中Protocol的使用
修饰符和类型方法说明static Response.BuilderHttp2ExchangeCodec.readHttp2HeadersList(Headers headerBlock, Protocol protocol) Returns headers for a name value block containing an HTTP/2 response. -
com.lark.oapi.okhttp.internal.platform中Protocol的使用
类型变量类型为Protocol的com.lark.oapi.okhttp.internal.platform中的方法参数修饰符和类型方法说明Platform.alpnProtocolNames(List<Protocol> protocols) voidConscryptPlatform.configureTlsExtensions(SSLSocket sslSocket, String hostname, List<Protocol> protocols) voidPlatform.configureTlsExtensions(SSLSocket sslSocket, String hostname, List<Protocol> protocols) Configure TLS extensions onsslSocketforroute.