跳过导航链接
A B C D E F G H I J K L M N O P Q R S T U V W 

A

add(String, String...) - 类 中的方法okhttp3.CertificatePinner.Builder
Pins certificates for pattern.
add(String, String) - 类 中的方法okhttp3.FormBody.Builder
 
add(String) - 类 中的方法okhttp3.Headers.Builder
Add an header line containing a field name, a literal colon, and a value.
add(String, String) - 类 中的方法okhttp3.Headers.Builder
Add a field with the specified value.
addEncoded(String, String) - 类 中的方法okhttp3.FormBody.Builder
 
addEncodedPathSegment(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
addEncodedPathSegments(String) - 类 中的方法okhttp3.HttpUrl.Builder
Adds a set of encoded path segments separated by a slash (either \ or /).
addEncodedQueryParameter(String, String) - 类 中的方法okhttp3.HttpUrl.Builder
Adds the pre-encoded query parameter to this URL's query string.
addFormDataPart(String, String) - 类 中的方法okhttp3.MultipartBody.Builder
Add a form data part to the body.
addFormDataPart(String, String, RequestBody) - 类 中的方法okhttp3.MultipartBody.Builder
Add a form data part to the body.
addHeader(String, String) - 类 中的方法okhttp3.Request.Builder
Adds a header with name and value.
addHeader(String, String) - 类 中的方法okhttp3.Response.Builder
Adds a header with name and value.
addInterceptor(Interceptor) - 类 中的方法okhttp3.OkHttpClient.Builder
 
addNetworkInterceptor(Interceptor) - 类 中的方法okhttp3.OkHttpClient.Builder
 
addPart(RequestBody) - 类 中的方法okhttp3.MultipartBody.Builder
Add a part to the body.
addPart(Headers, RequestBody) - 类 中的方法okhttp3.MultipartBody.Builder
Add a part to the body.
addPart(MultipartBody.Part) - 类 中的方法okhttp3.MultipartBody.Builder
Add a part to the body.
addPathSegment(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
addPathSegments(String) - 类 中的方法okhttp3.HttpUrl.Builder
Adds a set of path segments separated by a slash (either \ or /).
addQueryParameter(String, String) - 类 中的方法okhttp3.HttpUrl.Builder
Encodes the query parameter using UTF-8 and adds it to this URL's query string.
Address - okhttp3中的类
A specification for a connection to an origin server.
Address(String, int, Dns, SocketFactory, SSLSocketFactory, HostnameVerifier, CertificatePinner, Authenticator, Proxy, List<Protocol>, List<ConnectionSpec>, ProxySelector) - 类 的构造器okhttp3.Address
 
address() - 类 中的方法okhttp3.Route
 
allEnabledCipherSuites() - 类 中的方法okhttp3.ConnectionSpec.Builder
 
allEnabledTlsVersions() - 类 中的方法okhttp3.ConnectionSpec.Builder
 
ALTERNATIVE - 类 中的静态变量okhttp3.MultipartBody
The "multipart/alternative" type is syntactically identical to "multipart/mixed", but the semantics are different.
authenticate(Request) - 接口 中的方法okhttp3.Authenticator
Returns a tunnel request if a TLS tunnel via an HTTP proxy.
authenticate(Route, Response) - 接口 中的方法okhttp3.Authenticator
Returns a request that includes a credential to satisfy an authentication challenge in response.
Authenticator - okhttp3中的接口
Responds to an authentication challenge from either a remote web server or a proxy server.
authenticator() - 类 中的方法okhttp3.OkHttpClient
 
authenticator(Authenticator) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the authenticator used to respond to challenges from origin servers.

B

basic(String, String) - 类 中的静态方法okhttp3.Credentials
Returns an auth credential for the Basic scheme.
basic(String, String, Charset) - 类 中的静态方法okhttp3.Credentials
 
body() - 类 中的方法okhttp3.MultipartBody.Part
 
body() - 类 中的方法okhttp3.Request
 
body() - 类 中的方法okhttp3.Response
Returns a non-null value if this response was passed to Callback.onResponse(okhttp3.Call, okhttp3.Response) or returned from Call.execute().
body(ResponseBody) - 类 中的方法okhttp3.Response.Builder
 
boundary() - 类 中的方法okhttp3.MultipartBody
 
build() - 类 中的方法okhttp3.CacheControl.Builder
 
build() - 类 中的方法okhttp3.CertificatePinner.Builder
 
build() - 类 中的方法okhttp3.ConnectionSpec.Builder
 
build() - 类 中的方法okhttp3.Cookie.Builder
 
build() - 类 中的方法okhttp3.FormBody.Builder
 
build() - 类 中的方法okhttp3.Headers.Builder
 
build() - 类 中的方法okhttp3.HttpUrl.Builder
 
build() - 类 中的方法okhttp3.MultipartBody.Builder
Assemble the specified parts into a request body.
build() - 类 中的方法okhttp3.OkHttpClient.Builder
 
build() - 类 中的方法okhttp3.Request.Builder
 
build() - 类 中的方法okhttp3.Response.Builder
 
Builder() - 类 的构造器okhttp3.CacheControl.Builder
 
Builder() - 类 的构造器okhttp3.CertificatePinner.Builder
 
Builder(ConnectionSpec) - 类 的构造器okhttp3.ConnectionSpec.Builder
 
Builder() - 类 的构造器okhttp3.Cookie.Builder
 
Builder() - 类 的构造器okhttp3.FormBody.Builder
 
Builder(Charset) - 类 的构造器okhttp3.FormBody.Builder
 
Builder() - 类 的构造器okhttp3.Headers.Builder
 
Builder() - 类 的构造器okhttp3.HttpUrl.Builder
 
Builder() - 类 的构造器okhttp3.MultipartBody.Builder
 
Builder(String) - 类 的构造器okhttp3.MultipartBody.Builder
 
Builder() - 类 的构造器okhttp3.OkHttpClient.Builder
 
Builder() - 类 的构造器okhttp3.Request.Builder
 
Builder() - 类 的构造器okhttp3.Response.Builder
 
byteCount() - 类 中的方法okhttp3.Headers
Returns the number of bytes required to encode these headers using HTTP/1.1.
bytes() - 类 中的方法okhttp3.ResponseBody
Returns the response as a byte array.
byteStream() - 类 中的方法okhttp3.ResponseBody
 

C

Cache - okhttp3中的类
Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and bandwidth.
Cache(File, long) - 类 的构造器okhttp3.Cache
 
cache(Cache) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the response cache to be used to read and write cached responses.
cache() - 类 中的方法okhttp3.OkHttpClient
 
CacheControl - okhttp3中的类
A Cache-Control header with cache directives from a server or client.
cacheControl(CacheControl) - 类 中的方法okhttp3.Request.Builder
Sets this request's Cache-Control header, replacing any cache control headers already present.
cacheControl() - 类 中的方法okhttp3.Request
Returns the cache control directives for this response.
cacheControl() - 类 中的方法okhttp3.Response
Returns the cache control directives for this response.
CacheControl.Builder - okhttp3中的类
Builds a Cache-Control request header.
cacheResponse(Response) - 类 中的方法okhttp3.Response.Builder
 
cacheResponse() - 类 中的方法okhttp3.Response
Returns the raw response received from the cache.
Call - okhttp3中的接口
A call is a request that has been prepared for execution.
call() - 接口 中的方法okhttp3.Interceptor.Chain
 
Call.Factory - okhttp3中的接口
 
Callback - okhttp3中的接口
 
callEnd(Call) - 类 中的方法okhttp3.EventListener
Invoked immediately after a call has completely ended.
callFailed(Call, IOException) - 类 中的方法okhttp3.EventListener
Invoked when a call fails permanently.
callStart(Call) - 类 中的方法okhttp3.EventListener
Invoked as soon as a call is enqueued or executed by a client.
cancel() - 接口 中的方法okhttp3.Call
Cancels the request, if possible.
cancel() - 接口 中的方法okhttp3.WebSocket
Immediately and violently release resources held by this web socket, discarding any enqueued messages.
cancelAll() - 类 中的方法okhttp3.Dispatcher
Cancel all calls currently enqueued or executing.
certificatePinner() - 类 中的方法okhttp3.Address
Returns this address's certificate pinner, or null if this is not an HTTPS address.
CertificatePinner - okhttp3中的类
Constrains which certificates are trusted.
certificatePinner(CertificatePinner) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the certificate pinner that constrains which certificates are trusted.
certificatePinner() - 类 中的方法okhttp3.OkHttpClient
 
CertificatePinner.Builder - okhttp3中的类
Builds a configured certificate pinner.
Challenge - okhttp3中的类
An RFC 7617 challenge.
Challenge(String, String) - 类 的构造器okhttp3.Challenge
 
challenges() - 类 中的方法okhttp3.Response
Returns the authorization challenges appropriate for this response's code.
charset() - 类 中的方法okhttp3.Challenge
Returns the charset that should be used to encode the credential.
charset() - 类 中的方法okhttp3.MediaType
Returns the charset of this media type, or null if this media type doesn't specify a charset.
charset(Charset) - 类 中的方法okhttp3.MediaType
Returns the charset of this media type, or defaultValue if either this media type doesn't specify a charset, of it its charset is unsupported by the current runtime.
charStream() - 类 中的方法okhttp3.ResponseBody
Returns the response as a character stream decoded with the charset of the Content-Type header.
check(String, List<Certificate>) - 类 中的方法okhttp3.CertificatePinner
Confirms that at least one of the certificates pinned for hostname is in peerCertificates.
check(String, Certificate...) - 类 中的方法okhttp3.CertificatePinner
已过时。
CipherSuite - okhttp3中的类
cipherSuite() - 类 中的方法okhttp3.Handshake
Returns the cipher suite used for the connection.
cipherSuites(CipherSuite...) - 类 中的方法okhttp3.ConnectionSpec.Builder
 
cipherSuites(String...) - 类 中的方法okhttp3.ConnectionSpec.Builder
 
cipherSuites() - 类 中的方法okhttp3.ConnectionSpec
Returns the cipher suites to use for a connection.
CLEARTEXT - 类 中的静态变量okhttp3.ConnectionSpec
Unencrypted, unauthenticated connections for http: URLs.
clone() - 接口 中的方法okhttp3.Call
Create a new, identical call to this one which can be enqueued or executed even if this call has already been.
close() - 类 中的方法okhttp3.Cache
 
close() - 类 中的方法okhttp3.Response
Closes the response body.
close() - 类 中的方法okhttp3.ResponseBody
 
close(int, String) - 接口 中的方法okhttp3.WebSocket
Attempts to initiate a graceful shutdown of this web socket.
code(int) - 类 中的方法okhttp3.Response.Builder
 
code() - 类 中的方法okhttp3.Response
Returns the HTTP status code.
COMPATIBLE_TLS - 类 中的静态变量okhttp3.ConnectionSpec
A backwards-compatible fallback connection for interop with obsolete servers.
connectEnd(Call, InetSocketAddress, Proxy, Protocol) - 类 中的方法okhttp3.EventListener
Invoked immediately after a socket connection was attempted.
connectFailed(Call, InetSocketAddress, Proxy, Protocol, IOException) - 类 中的方法okhttp3.EventListener
Invoked when a connection attempt fails.
Connection - okhttp3中的接口
The sockets and streams of an HTTP, HTTPS, or HTTPS+HTTP/2 connection.
connection() - 接口 中的方法okhttp3.Interceptor.Chain
Returns the connection the request will be executed on.
connectionAcquired(Call, Connection) - 类 中的方法okhttp3.EventListener
Invoked after a connection has been acquired for the call.
connectionCount() - 类 中的方法okhttp3.ConnectionPool
Returns total number of connections in the pool.
ConnectionPool - okhttp3中的类
Manages reuse of HTTP and HTTP/2 connections for reduced network latency.
ConnectionPool() - 类 的构造器okhttp3.ConnectionPool
Create a new connection pool with tuning parameters appropriate for a single-user application.
ConnectionPool(int, long, TimeUnit) - 类 的构造器okhttp3.ConnectionPool
 
connectionPool(ConnectionPool) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the connection pool used to recycle HTTP and HTTPS connections.
connectionPool() - 类 中的方法okhttp3.OkHttpClient
 
connectionReleased(Call, Connection) - 类 中的方法okhttp3.EventListener
Invoked after a connection has been released for the call.
ConnectionSpec - okhttp3中的类
Specifies configuration for the socket connection that HTTP traffic travels through.
ConnectionSpec.Builder - okhttp3中的类
 
connectionSpecs() - 类 中的方法okhttp3.Address
 
connectionSpecs(List<ConnectionSpec>) - 类 中的方法okhttp3.OkHttpClient.Builder
 
connectionSpecs() - 类 中的方法okhttp3.OkHttpClient
 
connectStart(Call, InetSocketAddress, Proxy) - 类 中的方法okhttp3.EventListener
Invoked just prior to initiating a socket connection.
connectTimeout(long, TimeUnit) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the default connect timeout for new connections.
connectTimeoutMillis() - 接口 中的方法okhttp3.Interceptor.Chain
 
connectTimeoutMillis() - 类 中的方法okhttp3.OkHttpClient
Default connect timeout (in milliseconds).
contentLength() - 类 中的方法okhttp3.FormBody
 
contentLength() - 类 中的方法okhttp3.MultipartBody
 
contentLength() - 类 中的方法okhttp3.RequestBody
Returns the number of bytes that will be written to sink in a call to RequestBody.writeTo(okio.BufferedSink), or -1 if that count is unknown.
contentLength() - 类 中的方法okhttp3.ResponseBody
Returns the number of bytes in that will returned by ResponseBody.bytes(), or ResponseBody.byteStream(), or -1 if unknown.
contentType() - 类 中的方法okhttp3.FormBody
 
contentType() - 类 中的方法okhttp3.MultipartBody
contentType() - 类 中的方法okhttp3.RequestBody
Returns the Content-Type header for this body.
contentType() - 类 中的方法okhttp3.ResponseBody
 
Cookie - okhttp3中的类
An RFC 6265 Cookie.
Cookie.Builder - okhttp3中的类
Builds a cookie.
CookieJar - okhttp3中的接口
Provides policy and persistence for HTTP cookies.
cookieJar(CookieJar) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the handler that can accept cookies from incoming HTTP responses and provides cookies to outgoing HTTP requests.
cookieJar() - 类 中的方法okhttp3.OkHttpClient
 
create(Call) - 接口 中的方法okhttp3.EventListener.Factory
Creates an instance of the EventListener for a particular Call.
create(RequestBody) - 类 中的静态方法okhttp3.MultipartBody.Part
 
create(Headers, RequestBody) - 类 中的静态方法okhttp3.MultipartBody.Part
 
create(MediaType, String) - 类 中的静态方法okhttp3.RequestBody
Returns a new request body that transmits content.
create(MediaType, ByteString) - 类 中的静态方法okhttp3.RequestBody
Returns a new request body that transmits content.
create(MediaType, byte[]) - 类 中的静态方法okhttp3.RequestBody
Returns a new request body that transmits content.
create(MediaType, byte[], int, int) - 类 中的静态方法okhttp3.RequestBody
Returns a new request body that transmits content.
create(MediaType, File) - 类 中的静态方法okhttp3.RequestBody
Returns a new request body that transmits the content of file.
create(MediaType, String) - 类 中的静态方法okhttp3.ResponseBody
Returns a new response body that transmits content.
create(MediaType, byte[]) - 类 中的静态方法okhttp3.ResponseBody
Returns a new response body that transmits content.
create(MediaType, long, BufferedSource) - 类 中的静态方法okhttp3.ResponseBody
Returns a new response body that transmits content.
createFormData(String, String) - 类 中的静态方法okhttp3.MultipartBody.Part
 
createFormData(String, String, RequestBody) - 类 中的静态方法okhttp3.MultipartBody.Part
 
Credentials - okhttp3中的类
Factory for HTTP authorization credentials.

D

DEFAULT - 类 中的静态变量okhttp3.CertificatePinner
 
defaultPort(String) - 类 中的静态方法okhttp3.HttpUrl
Returns 80 if scheme.equals("http"), 443 if scheme.equals("https") and -1 otherwise.
delete() - 类 中的方法okhttp3.Cache
Closes the cache and deletes all of its stored values.
delete(RequestBody) - 类 中的方法okhttp3.Request.Builder
 
delete() - 类 中的方法okhttp3.Request.Builder
 
DIGEST - 类 中的静态变量okhttp3.MultipartBody
This type is syntactically identical to "multipart/mixed", but the semantics are different.
directory() - 类 中的方法okhttp3.Cache
 
Dispatcher - okhttp3中的类
Policy on when async requests are executed.
Dispatcher(ExecutorService) - 类 的构造器okhttp3.Dispatcher
 
Dispatcher() - 类 的构造器okhttp3.Dispatcher
 
dispatcher(Dispatcher) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the dispatcher used to set policy and execute asynchronous requests.
dispatcher() - 类 中的方法okhttp3.OkHttpClient
 
dns() - 类 中的方法okhttp3.Address
Returns the service that will be used to resolve IP addresses for hostnames.
Dns - okhttp3中的接口
A domain name service that resolves IP addresses for host names.
dns(Dns) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the DNS service used to lookup IP addresses for hostnames.
dns() - 类 中的方法okhttp3.OkHttpClient
 
dnsEnd(Call, String, List<InetAddress>) - 类 中的方法okhttp3.EventListener
Invoked immediately after a DNS lookup.
dnsStart(Call, String) - 类 中的方法okhttp3.EventListener
Invoked just prior to a DNS lookup.
domain(String) - 类 中的方法okhttp3.Cookie.Builder
Set the domain pattern for this cookie.
domain() - 类 中的方法okhttp3.Cookie
Returns the cookie's domain.

E

encodedFragment(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
encodedFragment() - 类 中的方法okhttp3.HttpUrl
Returns this URL's encoded fragment, like "abc" for http://host/#abc.
encodedName(int) - 类 中的方法okhttp3.FormBody
 
encodedPassword(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
encodedPassword() - 类 中的方法okhttp3.HttpUrl
Returns the password, or an empty string if none is set.
encodedPath(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
encodedPath() - 类 中的方法okhttp3.HttpUrl
Returns the entire path of this URL encoded for use in HTTP resource resolution.
encodedPathSegments() - 类 中的方法okhttp3.HttpUrl
Returns a list of encoded path segments like ["a", "b", "c"] for the URL http://host/a/b/c.
encodedQuery(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
encodedQuery() - 类 中的方法okhttp3.HttpUrl
Returns the query of this URL, encoded for use in HTTP resource resolution.
encodedUsername(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
encodedUsername() - 类 中的方法okhttp3.HttpUrl
Returns the username, or an empty string if none is set.
encodedValue(int) - 类 中的方法okhttp3.FormBody
 
enqueue(Callback) - 接口 中的方法okhttp3.Call
Schedules the request to be executed at some point in the future.
equals(Object) - 类 中的方法okhttp3.Address
 
equals(Object) - 类 中的方法okhttp3.CertificatePinner
 
equals(Object) - 类 中的方法okhttp3.Challenge
 
equals(Object) - 类 中的方法okhttp3.ConnectionSpec
 
equals(Object) - 类 中的方法okhttp3.Cookie
 
equals(Object) - 类 中的方法okhttp3.Handshake
 
equals(Object) - 类 中的方法okhttp3.Headers
Returns true if other is a Headers object with the same headers, with the same casing, in the same order.
equals(Object) - 类 中的方法okhttp3.HttpUrl
 
equals(Object) - 类 中的方法okhttp3.MediaType
 
equals(Object) - 类 中的方法okhttp3.Route
 
EventListener - okhttp3中的类
Listener for metrics events.
EventListener() - 类 的构造器okhttp3.EventListener
 
eventListener(EventListener) - 类 中的方法okhttp3.OkHttpClient.Builder
Configure a single client scoped listener that will receive all analytic events for this client.
EventListener.Factory - okhttp3中的接口
Warning: This is a non-final API.
eventListenerFactory(EventListener.Factory) - 类 中的方法okhttp3.OkHttpClient.Builder
Configure a factory to provide per-call scoped listeners that will receive analytic events for this client.
eventListenerFactory() - 类 中的方法okhttp3.OkHttpClient
 
evictAll() - 类 中的方法okhttp3.Cache
Deletes all values stored in the cache.
evictAll() - 类 中的方法okhttp3.ConnectionPool
Close and remove all idle connections in the pool.
execute() - 接口 中的方法okhttp3.Call
Invokes the request immediately, and blocks until the response can be processed or is in error.
executorService() - 类 中的方法okhttp3.Dispatcher
 
expiresAt(long) - 类 中的方法okhttp3.Cookie.Builder
 
expiresAt() - 类 中的方法okhttp3.Cookie
Returns the time that this cookie expires, in the same format as System.currentTimeMillis().

F

flush() - 类 中的方法okhttp3.Cache
 
followRedirects(boolean) - 类 中的方法okhttp3.OkHttpClient.Builder
Configure this client to follow redirects.
followRedirects() - 类 中的方法okhttp3.OkHttpClient
 
followSslRedirects(boolean) - 类 中的方法okhttp3.OkHttpClient.Builder
Configure this client to follow redirects from HTTPS to HTTP and from HTTP to HTTPS.
followSslRedirects() - 类 中的方法okhttp3.OkHttpClient
 
FORCE_CACHE - 类 中的静态变量okhttp3.CacheControl
Cache control request directives that uses the cache only, even if the cached response is stale.
FORCE_NETWORK - 类 中的静态变量okhttp3.CacheControl
Cache control request directives that require network validation of responses.
forJavaName(String) - 类 中的静态方法okhttp3.CipherSuite
 
forJavaName(String) - 枚举 中的静态方法okhttp3.TlsVersion
 
FORM - 类 中的静态变量okhttp3.MultipartBody
The media-type multipart/form-data follows the rules of all multipart MIME data streams as outlined in RFC 2046.
FormBody - okhttp3中的类
 
FormBody.Builder - okhttp3中的类
 
fragment(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
fragment() - 类 中的方法okhttp3.HttpUrl
Returns this URL's fragment, like "abc" for http://host/#abc.

G

get(SSLSession) - 类 中的静态方法okhttp3.Handshake
 
get(TlsVersion, CipherSuite, List<Certificate>, List<Certificate>) - 类 中的静态方法okhttp3.Handshake
 
get(String) - 类 中的方法okhttp3.Headers.Builder
Equivalent to build().get(name), but potentially faster.
get(String) - 类 中的方法okhttp3.Headers
Returns the last value corresponding to the specified field, or null.
get(URL) - 类 中的静态方法okhttp3.HttpUrl
Returns an HttpUrl for url if its protocol is http or https, or null if it has any other protocol.
get(URI) - 类 中的静态方法okhttp3.HttpUrl
 
get(String) - 枚举 中的静态方法okhttp3.Protocol
Returns the protocol identified by protocol.
get() - 类 中的方法okhttp3.Request.Builder
 
getDate(String) - 类 中的方法okhttp3.Headers
Returns the last value corresponding to the specified field parsed as an HTTP date, or null if either the field is absent or cannot be parsed as a date.
getMaxRequests() - 类 中的方法okhttp3.Dispatcher
 
getMaxRequestsPerHost() - 类 中的方法okhttp3.Dispatcher
 

H

handshake() - 接口 中的方法okhttp3.Connection
Returns the TLS handshake used to establish this connection, or null if the connection is not HTTPS.
Handshake - okhttp3中的类
A record of a TLS handshake.
handshake(Handshake) - 类 中的方法okhttp3.Response.Builder
 
handshake() - 类 中的方法okhttp3.Response
Returns the TLS handshake of the connection that carried this response, or null if the response was received without TLS.
hashCode() - 类 中的方法okhttp3.Address
 
hashCode() - 类 中的方法okhttp3.CertificatePinner
 
hashCode() - 类 中的方法okhttp3.Challenge
 
hashCode() - 类 中的方法okhttp3.ConnectionSpec
 
hashCode() - 类 中的方法okhttp3.Cookie
 
hashCode() - 类 中的方法okhttp3.Handshake
 
hashCode() - 类 中的方法okhttp3.Headers
 
hashCode() - 类 中的方法okhttp3.HttpUrl
 
hashCode() - 类 中的方法okhttp3.MediaType
 
hashCode() - 类 中的方法okhttp3.Route
 
head() - 类 中的方法okhttp3.Request.Builder
 
header(String, String) - 类 中的方法okhttp3.Request.Builder
Sets the header named name to value.
header(String) - 类 中的方法okhttp3.Request
 
header(String, String) - 类 中的方法okhttp3.Response.Builder
Sets the header named name to value.
header(String) - 类 中的方法okhttp3.Response
 
header(String, String) - 类 中的方法okhttp3.Response
 
Headers - okhttp3中的类
The header fields of a single HTTP message.
headers() - 类 中的方法okhttp3.MultipartBody.Part
 
headers(Headers) - 类 中的方法okhttp3.Request.Builder
Removes all headers on this builder and adds headers.
headers() - 类 中的方法okhttp3.Request
 
headers(String) - 类 中的方法okhttp3.Request
 
headers(Headers) - 类 中的方法okhttp3.Response.Builder
Removes all headers on this builder and adds headers.
headers(String) - 类 中的方法okhttp3.Response
 
headers() - 类 中的方法okhttp3.Response
 
Headers.Builder - okhttp3中的类
 
hitCount() - 类 中的方法okhttp3.Cache
 
host(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
host() - 类 中的方法okhttp3.HttpUrl
Returns the host address suitable for use with InetAddress.getAllByName(String).
hostnameVerifier() - 类 中的方法okhttp3.Address
Returns the hostname verifier, or null if this is not an HTTPS address.
hostnameVerifier(HostnameVerifier) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the verifier used to confirm that response certificates apply to requested hostnames for HTTPS connections.
hostnameVerifier() - 类 中的方法okhttp3.OkHttpClient
 
hostOnly() - 类 中的方法okhttp3.Cookie
Returns true if this cookie's domain should be interpreted as a single host name, or false if it should be interpreted as a pattern.
hostOnlyDomain(String) - 类 中的方法okhttp3.Cookie.Builder
Set the host-only domain for this cookie.
httpOnly() - 类 中的方法okhttp3.Cookie.Builder
 
httpOnly() - 类 中的方法okhttp3.Cookie
Returns true if this cookie should be limited to only HTTP APIs.
HttpUrl - okhttp3中的类
A uniform resource locator (URL) with a scheme of either http or https.
HttpUrl.Builder - okhttp3中的类
 

I

idleConnectionCount() - 类 中的方法okhttp3.ConnectionPool
Returns the number of idle connections in the pool.
immutable() - 类 中的方法okhttp3.CacheControl.Builder
 
immutable() - 类 中的方法okhttp3.CacheControl
 
initialize() - 类 中的方法okhttp3.Cache
Initialize the cache.
intercept(Interceptor.Chain) - 接口 中的方法okhttp3.Interceptor
 
Interceptor - okhttp3中的接口
Observes, modifies, and potentially short-circuits requests going out and the corresponding responses coming back in.
Interceptor.Chain - okhttp3中的接口
 
interceptors() - 类 中的方法okhttp3.OkHttpClient.Builder
Returns a modifiable list of interceptors that observe the full span of each call: from before the connection is established (if any) until after the response source is selected (either the origin server, cache, or both).
interceptors() - 类 中的方法okhttp3.OkHttpClient
Returns an immutable list of interceptors that observe the full span of each call: from before the connection is established (if any) until after the response source is selected (either the origin server, cache, or both).
isCanceled() - 接口 中的方法okhttp3.Call
 
isClosed() - 类 中的方法okhttp3.Cache
 
isCompatible(SSLSocket) - 类 中的方法okhttp3.ConnectionSpec
Returns true if the socket, as currently configured, supports this connection spec.
isExecuted() - 接口 中的方法okhttp3.Call
Returns true if this call has been either executed or enqueued.
isHttps() - 类 中的方法okhttp3.HttpUrl
 
isHttps() - 类 中的方法okhttp3.Request
 
isPrivate() - 类 中的方法okhttp3.CacheControl
 
isPublic() - 类 中的方法okhttp3.CacheControl
 
isRedirect() - 类 中的方法okhttp3.Response
Returns true if this response redirects to another resource.
isSuccessful() - 类 中的方法okhttp3.Response
Returns true if the code is in [200..300), which means the request was successfully received, understood, and accepted.
isTls() - 类 中的方法okhttp3.ConnectionSpec
 

J

javaName() - 类 中的方法okhttp3.CipherSuite
Returns the Java name of this cipher suite.
javaName() - 枚举 中的方法okhttp3.TlsVersion
 

K

key(HttpUrl) - 类 中的静态方法okhttp3.Cache
 

L

loadForRequest(HttpUrl) - 接口 中的方法okhttp3.CookieJar
Load cookies from the jar for an HTTP request to url.
localCertificates() - 类 中的方法okhttp3.Handshake
Returns a possibly-empty list of certificates that identify this peer.
localPrincipal() - 类 中的方法okhttp3.Handshake
Returns the local principle, or null if this peer is anonymous.
lookup(String) - 接口 中的方法okhttp3.Dns
Returns the IP addresses of hostname, in the order they will be attempted by OkHttp.

M

matches(HttpUrl) - 类 中的方法okhttp3.Cookie
Returns true if this cookie should be included on a request to url.
maxAge(int, TimeUnit) - 类 中的方法okhttp3.CacheControl.Builder
Sets the maximum age of a cached response.
maxAgeSeconds() - 类 中的方法okhttp3.CacheControl
The duration past the response's served date that it can be served without validation.
maxSize() - 类 中的方法okhttp3.Cache
 
maxStale(int, TimeUnit) - 类 中的方法okhttp3.CacheControl.Builder
Accept cached responses that have exceeded their freshness lifetime by up to maxStale.
maxStaleSeconds() - 类 中的方法okhttp3.CacheControl
 
MediaType - okhttp3中的类
An RFC 2045 Media Type, appropriate to describe the content type of an HTTP request or response body.
message(String) - 类 中的方法okhttp3.Response.Builder
 
message() - 类 中的方法okhttp3.Response
Returns the HTTP status message.
method(String, RequestBody) - 类 中的方法okhttp3.Request.Builder
 
method() - 类 中的方法okhttp3.Request
 
minFresh(int, TimeUnit) - 类 中的方法okhttp3.CacheControl.Builder
Sets the minimum number of seconds that a response will continue to be fresh for.
minFreshSeconds() - 类 中的方法okhttp3.CacheControl
 
MIXED - 类 中的静态变量okhttp3.MultipartBody
The "mixed" subtype of "multipart" is intended for use when the body parts are independent and need to be bundled in a particular order.
MODERN_TLS - 类 中的静态变量okhttp3.ConnectionSpec
A modern TLS connection with extensions like SNI and ALPN available.
MultipartBody - okhttp3中的类
An RFC 2387-compliant request body.
MultipartBody.Builder - okhttp3中的类
 
MultipartBody.Part - okhttp3中的类
 
mustRevalidate() - 类 中的方法okhttp3.CacheControl
 

N

name(String) - 类 中的方法okhttp3.Cookie.Builder
 
name() - 类 中的方法okhttp3.Cookie
Returns a non-empty string with this cookie's name.
name(int) - 类 中的方法okhttp3.FormBody
 
name(int) - 类 中的方法okhttp3.Headers
Returns the field at position.
names() - 类 中的方法okhttp3.Headers
Returns an immutable case-insensitive set of header names.
networkCount() - 类 中的方法okhttp3.Cache
 
networkInterceptors() - 类 中的方法okhttp3.OkHttpClient.Builder
Returns a modifiable list of interceptors that observe a single network request and response.
networkInterceptors() - 类 中的方法okhttp3.OkHttpClient
Returns an immutable list of interceptors that observe a single network request and response.
networkResponse(Response) - 类 中的方法okhttp3.Response.Builder
 
networkResponse() - 类 中的方法okhttp3.Response
Returns the raw response received from the network.
newBuilder() - 类 中的方法okhttp3.Headers
 
newBuilder() - 类 中的方法okhttp3.HttpUrl
 
newBuilder(String) - 类 中的方法okhttp3.HttpUrl
Returns a builder for the URL that would be retrieved by following link from this URL, or null if the resulting URL is not well-formed.
newBuilder() - 类 中的方法okhttp3.OkHttpClient
 
newBuilder() - 类 中的方法okhttp3.Request
 
newBuilder() - 类 中的方法okhttp3.Response
 
newCall(Request) - 接口 中的方法okhttp3.Call.Factory
 
newCall(Request) - 类 中的方法okhttp3.OkHttpClient
Prepares the request to be executed at some point in the future.
newWebSocket(Request, WebSocketListener) - 类 中的方法okhttp3.OkHttpClient
Uses request to connect a new web socket.
newWebSocket(Request, WebSocketListener) - 接口 中的方法okhttp3.WebSocket.Factory
Creates a new web socket and immediately returns it.
NO_COOKIES - 接口 中的静态变量okhttp3.CookieJar
A cookie jar that never accepts any cookies.
noCache() - 类 中的方法okhttp3.CacheControl.Builder
Don't accept an unvalidated cached response.
noCache() - 类 中的方法okhttp3.CacheControl
In a response, this field's name "no-cache" is misleading.
NONE - 接口 中的静态变量okhttp3.Authenticator
An authenticator that knows no credentials and makes no attempt to authenticate.
NONE - 类 中的静态变量okhttp3.EventListener
 
noStore() - 类 中的方法okhttp3.CacheControl.Builder
Don't store the server's response in any cache.
noStore() - 类 中的方法okhttp3.CacheControl
If true, this response should not be cached.
noTransform() - 类 中的方法okhttp3.CacheControl.Builder
Don't accept a transformed response.
noTransform() - 类 中的方法okhttp3.CacheControl
 

O

of(String...) - 类 中的静态方法okhttp3.Headers
Returns headers for the alternating header names and values.
of(Map<String, String>) - 类 中的静态方法okhttp3.Headers
Returns headers for the header names and values in the Map.
okhttp3 - 程序包 okhttp3
An HTTP+HTTP/2 client for Android and Java applications.
OkHttpClient - okhttp3中的类
Factory for calls, which can be used to send HTTP requests and read their responses.
OkHttpClient() - 类 的构造器okhttp3.OkHttpClient
 
OkHttpClient.Builder - okhttp3中的类
 
onClosed(WebSocket, int, String) - 类 中的方法okhttp3.WebSocketListener
Invoked when both peers have indicated that no more messages will be transmitted and the connection has been successfully released.
onClosing(WebSocket, int, String) - 类 中的方法okhttp3.WebSocketListener
Invoked when the remote peer has indicated that no more incoming messages will be transmitted.
onFailure(Call, IOException) - 接口 中的方法okhttp3.Callback
Called when the request could not be executed due to cancellation, a connectivity problem or timeout.
onFailure(WebSocket, Throwable, Response) - 类 中的方法okhttp3.WebSocketListener
Invoked when a web socket has been closed due to an error reading from or writing to the network.
onlyIfCached() - 类 中的方法okhttp3.CacheControl.Builder
Only accept the response if it is in the cache.
onlyIfCached() - 类 中的方法okhttp3.CacheControl
This field's name "only-if-cached" is misleading.
onMessage(WebSocket, String) - 类 中的方法okhttp3.WebSocketListener
Invoked when a text (type 0x1) message has been received.
onMessage(WebSocket, ByteString) - 类 中的方法okhttp3.WebSocketListener
Invoked when a binary (type 0x2) message has been received.
onOpen(WebSocket, Response) - 类 中的方法okhttp3.WebSocketListener
Invoked when a web socket has been accepted by the remote peer and may begin transmitting messages.
onResponse(Call, Response) - 接口 中的方法okhttp3.Callback
Called when the HTTP response was successfully returned by the remote server.

P

PARALLEL - 类 中的静态变量okhttp3.MultipartBody
This type is syntactically identical to "multipart/mixed", but the semantics are different.
parse(Headers) - 类 中的静态方法okhttp3.CacheControl
Returns the cache directives of headers.
parse(HttpUrl, String) - 类 中的静态方法okhttp3.Cookie
Attempt to parse a Set-Cookie HTTP header value setCookie as a cookie.
parse(String) - 类 中的静态方法okhttp3.HttpUrl
Returns a new HttpUrl representing url if it is a well-formed HTTP or HTTPS URL, or null if it isn't.
parse(String) - 类 中的静态方法okhttp3.MediaType
Returns a media type for string, or null if string is not a well-formed media type.
parseAll(HttpUrl, Headers) - 类 中的静态方法okhttp3.Cookie
Returns all of the cookies from a set of HTTP response headers.
part(int) - 类 中的方法okhttp3.MultipartBody
 
parts() - 类 中的方法okhttp3.MultipartBody
 
password(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
password() - 类 中的方法okhttp3.HttpUrl
Returns the decoded password, or an empty string if none is present.
patch(RequestBody) - 类 中的方法okhttp3.Request.Builder
 
path(String) - 类 中的方法okhttp3.Cookie.Builder
 
path() - 类 中的方法okhttp3.Cookie
Returns this cookie's path.
pathSegments() - 类 中的方法okhttp3.HttpUrl
Returns a list of path segments like ["a", "b", "c"] for the URL http://host/a/b/c.
pathSize() - 类 中的方法okhttp3.HttpUrl
Returns the number of segments in this URL's path.
peekBody(long) - 类 中的方法okhttp3.Response
Peeks up to byteCount bytes from the response body and returns them as a new response body.
peerCertificates() - 类 中的方法okhttp3.Handshake
Returns a possibly-empty list of certificates that identify the remote peer.
peerPrincipal() - 类 中的方法okhttp3.Handshake
Returns the remote peer's principle, or null if that peer is anonymous.
persistent() - 类 中的方法okhttp3.Cookie
Returns true if this cookie does not expire at the end of the current session.
pin(Certificate) - 类 中的静态方法okhttp3.CertificatePinner
Returns the SHA-256 of certificate's public key.
pingInterval(long, TimeUnit) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the interval between web socket pings initiated by this client.
pingIntervalMillis() - 类 中的方法okhttp3.OkHttpClient
Web socket ping interval (in milliseconds).
port(int) - 类 中的方法okhttp3.HttpUrl.Builder
 
port() - 类 中的方法okhttp3.HttpUrl
Returns the explicitly-specified port if one was provided, or the default port for this URL's scheme.
post(RequestBody) - 类 中的方法okhttp3.Request.Builder
 
priorResponse(Response) - 类 中的方法okhttp3.Response.Builder
 
priorResponse() - 类 中的方法okhttp3.Response
Returns the response for the HTTP redirect or authorization challenge that triggered this response, or null if this response wasn't triggered by an automatic retry.
proceed(Request) - 接口 中的方法okhttp3.Interceptor.Chain
 
protocol() - 接口 中的方法okhttp3.Connection
Returns the protocol negotiated by this connection, or Protocol.HTTP_1_1 if no protocol has been negotiated.
Protocol - okhttp3中的枚举
Protocols that OkHttp implements for ALPN selection.
protocol(Protocol) - 类 中的方法okhttp3.Response.Builder
 
protocol() - 类 中的方法okhttp3.Response
Returns the HTTP protocol, such as Protocol.HTTP_1_1 or Protocol.HTTP_1_0.
protocols() - 类 中的方法okhttp3.Address
Returns the protocols the client supports.
protocols(List<Protocol>) - 类 中的方法okhttp3.OkHttpClient.Builder
Configure the protocols used by this client to communicate with remote servers.
protocols() - 类 中的方法okhttp3.OkHttpClient
 
proxy() - 类 中的方法okhttp3.Address
Returns this address's explicitly-specified HTTP proxy, or null to delegate to the proxy selector.
proxy(Proxy) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the HTTP proxy that will be used by connections created by this client.
proxy() - 类 中的方法okhttp3.OkHttpClient
 
proxy() - 类 中的方法okhttp3.Route
Returns the Proxy of this route.
proxyAuthenticator() - 类 中的方法okhttp3.Address
Returns the client's proxy authenticator.
proxyAuthenticator(Authenticator) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the authenticator used to respond to challenges from proxy servers.
proxyAuthenticator() - 类 中的方法okhttp3.OkHttpClient
 
proxySelector() - 类 中的方法okhttp3.Address
Returns this address's proxy selector.
proxySelector(ProxySelector) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the proxy selection policy to be used if no proxy is specified explicitly.
proxySelector() - 类 中的方法okhttp3.OkHttpClient
 
put(RequestBody) - 类 中的方法okhttp3.Request.Builder
 

Q

query(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
query() - 类 中的方法okhttp3.HttpUrl
Returns this URL's query, like "abc" for {@code http://host/?
queryParameter(String) - 类 中的方法okhttp3.HttpUrl
Returns the first query parameter named name decoded using UTF-8, or null if there is no such query parameter.
queryParameterName(int) - 类 中的方法okhttp3.HttpUrl
Returns the name of the query parameter at index.
queryParameterNames() - 类 中的方法okhttp3.HttpUrl
Returns the distinct query parameter names in this URL, like ["a", "b"] for {@code http://host/?
queryParameterValue(int) - 类 中的方法okhttp3.HttpUrl
Returns the value of the query parameter at index.
queryParameterValues(String) - 类 中的方法okhttp3.HttpUrl
Returns all values for the query parameter name ordered by their appearance in this URL.
querySize() - 类 中的方法okhttp3.HttpUrl
Returns the number of query parameters in this URL, like 2 for {@code http://host/?
queuedCalls() - 类 中的方法okhttp3.Dispatcher
Returns a snapshot of the calls currently awaiting execution.
queuedCallsCount() - 类 中的方法okhttp3.Dispatcher
 
queueSize() - 接口 中的方法okhttp3.WebSocket
Returns the size in bytes of all messages enqueued to be transmitted to the server.

R

readTimeout(long, TimeUnit) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the default read timeout for new connections.
readTimeoutMillis() - 接口 中的方法okhttp3.Interceptor.Chain
 
readTimeoutMillis() - 类 中的方法okhttp3.OkHttpClient
Default read timeout (in milliseconds).
realm() - 类 中的方法okhttp3.Challenge
Returns the protection space.
receivedResponseAtMillis(long) - 类 中的方法okhttp3.Response.Builder
 
receivedResponseAtMillis() - 类 中的方法okhttp3.Response
Returns a timestamp taken immediately after OkHttp received this response's headers from the network.
redact() - 类 中的方法okhttp3.HttpUrl
Returns a string with containing this URL with its username, password, query, and fragment stripped, and its path replaced with /....
removeAll(String) - 类 中的方法okhttp3.Headers.Builder
 
removeAllEncodedQueryParameters(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
removeAllQueryParameters(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
removeHeader(String) - 类 中的方法okhttp3.Request.Builder
 
removeHeader(String) - 类 中的方法okhttp3.Response.Builder
 
removePathSegment(int) - 类 中的方法okhttp3.HttpUrl.Builder
 
request() - 接口 中的方法okhttp3.Call
Returns the original request that initiated this call.
request() - 接口 中的方法okhttp3.Interceptor.Chain
 
Request - okhttp3中的类
An HTTP request.
request(Request) - 类 中的方法okhttp3.Response.Builder
 
request() - 类 中的方法okhttp3.Response
The wire-level request that initiated this HTTP response.
request() - 接口 中的方法okhttp3.WebSocket
Returns the original request that initiated this web socket.
Request.Builder - okhttp3中的类
 
RequestBody - okhttp3中的类
 
RequestBody() - 类 的构造器okhttp3.RequestBody
 
requestBodyEnd(Call, long) - 类 中的方法okhttp3.EventListener
Invoked immediately after sending a request body.
requestBodyStart(Call) - 类 中的方法okhttp3.EventListener
Invoked just prior to sending a request body.
requestCount() - 类 中的方法okhttp3.Cache
 
requestHeadersEnd(Call, Request) - 类 中的方法okhttp3.EventListener
Invoked immediately after sending request headers.
requestHeadersStart(Call) - 类 中的方法okhttp3.EventListener
Invoked just prior to sending request headers.
requiresTunnel() - 类 中的方法okhttp3.Route
Returns true if this route tunnels HTTPS through an HTTP proxy.
resolve(String) - 类 中的方法okhttp3.HttpUrl
Returns the URL that would be retrieved by following link from this URL, or null if the resulting URL is not well-formed.
Response - okhttp3中的类
An HTTP response.
Response.Builder - okhttp3中的类
 
ResponseBody - okhttp3中的类
A one-shot stream from the origin server to the client application with the raw bytes of the response body.
ResponseBody() - 类 的构造器okhttp3.ResponseBody
 
responseBodyEnd(Call, long) - 类 中的方法okhttp3.EventListener
Invoked immediately after receiving a response body and completing reading it.
responseBodyStart(Call) - 类 中的方法okhttp3.EventListener
Invoked just prior to receiving the response body.
responseHeadersEnd(Call, Response) - 类 中的方法okhttp3.EventListener
Invoked immediately after receiving response headers.
responseHeadersStart(Call) - 类 中的方法okhttp3.EventListener
Invoked just prior to receiving response headers.
retryOnConnectionFailure(boolean) - 类 中的方法okhttp3.OkHttpClient.Builder
Configure this client to retry or not when a connectivity problem is encountered.
retryOnConnectionFailure() - 类 中的方法okhttp3.OkHttpClient
 
route() - 接口 中的方法okhttp3.Connection
Returns the route used by this connection.
Route - okhttp3中的类
The concrete route used by a connection to reach an abstract origin server.
Route(Address, Proxy, InetSocketAddress) - 类 的构造器okhttp3.Route
 
runningCalls() - 类 中的方法okhttp3.Dispatcher
Returns a snapshot of the calls currently being executed.
runningCallsCount() - 类 中的方法okhttp3.Dispatcher
 

S

saveFromResponse(HttpUrl, List<Cookie>) - 接口 中的方法okhttp3.CookieJar
Saves cookies from an HTTP response to this store according to this jar's policy.
scheme() - 类 中的方法okhttp3.Challenge
Returns the authentication scheme, like Basic.
scheme(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
scheme() - 类 中的方法okhttp3.HttpUrl
Returns either "http" or "https".
secure() - 类 中的方法okhttp3.Cookie.Builder
 
secure() - 类 中的方法okhttp3.Cookie
Returns true if this cookie should be limited to only HTTPS requests.
secureConnectEnd(Call, Handshake) - 类 中的方法okhttp3.EventListener
Invoked immediately after a TLS connection was attempted.
secureConnectStart(Call) - 类 中的方法okhttp3.EventListener
Invoked just prior to initiating a TLS connection.
send(String) - 接口 中的方法okhttp3.WebSocket
Attempts to enqueue text to be UTF-8 encoded and sent as a the data of a text (type 0x1) message.
send(ByteString) - 接口 中的方法okhttp3.WebSocket
Attempts to enqueue bytes to be sent as a the data of a binary (type 0x2) message.
sentRequestAtMillis(long) - 类 中的方法okhttp3.Response.Builder
 
sentRequestAtMillis() - 类 中的方法okhttp3.Response
Returns a timestamp taken immediately before OkHttp transmitted the initiating request over the network.
set(String, String) - 类 中的方法okhttp3.Headers.Builder
Set a field with the specified value.
setEncodedPathSegment(int, String) - 类 中的方法okhttp3.HttpUrl.Builder
 
setEncodedQueryParameter(String, String) - 类 中的方法okhttp3.HttpUrl.Builder
 
setIdleCallback(Runnable) - 类 中的方法okhttp3.Dispatcher
Set a callback to be invoked each time the dispatcher becomes idle (when the number of running calls returns to zero).
setMaxRequests(int) - 类 中的方法okhttp3.Dispatcher
Set the maximum number of requests to execute concurrently.
setMaxRequestsPerHost(int) - 类 中的方法okhttp3.Dispatcher
Set the maximum number of requests for each host to execute concurrently.
setPathSegment(int, String) - 类 中的方法okhttp3.HttpUrl.Builder
 
setQueryParameter(String, String) - 类 中的方法okhttp3.HttpUrl.Builder
 
setType(MediaType) - 类 中的方法okhttp3.MultipartBody.Builder
Set the MIME type.
size() - 类 中的方法okhttp3.Cache
 
size() - 类 中的方法okhttp3.FormBody
The number of key-value pairs in this form-encoded body.
size() - 类 中的方法okhttp3.Headers
Returns the number of field values.
size() - 类 中的方法okhttp3.MultipartBody
The number of parts in this multipart body.
sMaxAgeSeconds() - 类 中的方法okhttp3.CacheControl
The "s-maxage" directive is the max age for shared caches.
socket() - 接口 中的方法okhttp3.Connection
Returns the socket that this connection is using.
socketAddress() - 类 中的方法okhttp3.Route
 
socketFactory() - 类 中的方法okhttp3.Address
Returns the socket factory for new connections.
socketFactory(SocketFactory) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the socket factory used to create connections.
socketFactory() - 类 中的方法okhttp3.OkHttpClient
 
source() - 类 中的方法okhttp3.ResponseBody
 
sslSocketFactory() - 类 中的方法okhttp3.Address
Returns the SSL socket factory, or null if this is not an HTTPS address.
sslSocketFactory(SSLSocketFactory) - 类 中的方法okhttp3.OkHttpClient.Builder
已过时。
SSLSocketFactory does not expose its X509TrustManager, which is a field that OkHttp needs to build a clean certificate chain. This method instead must use reflection to extract the trust manager. Applications should prefer to call OkHttpClient.Builder.sslSocketFactory(SSLSocketFactory, X509TrustManager), which avoids such reflection.
sslSocketFactory(SSLSocketFactory, X509TrustManager) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the socket factory and trust manager used to secure HTTPS connections.
sslSocketFactory() - 类 中的方法okhttp3.OkHttpClient
 
string() - 类 中的方法okhttp3.ResponseBody
Returns the response as a string decoded with the charset of the Content-Type header.
subtype() - 类 中的方法okhttp3.MediaType
Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".
supportsTlsExtensions(boolean) - 类 中的方法okhttp3.ConnectionSpec.Builder
 
supportsTlsExtensions() - 类 中的方法okhttp3.ConnectionSpec
 
SYSTEM - 接口 中的静态变量okhttp3.Dns
A DNS that uses InetAddress.getAllByName(java.lang.String) to ask the underlying operating system to lookup IP addresses.

T

tag(Object) - 类 中的方法okhttp3.Request.Builder
Attaches tag to the request.
tag() - 类 中的方法okhttp3.Request
 
TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_WITH_AES_128_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_WITH_AES_128_GCM_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_WITH_AES_256_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_WITH_AES_256_GCM_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_WITH_DES_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DH_anon_WITH_RC4_128_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_DSS_WITH_DES_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_DHE_RSA_WITH_DES_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_anon_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_anon_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_anon_WITH_NULL_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_anon_WITH_RC4_128_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_ECDSA_WITH_NULL_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_ECDSA_WITH_RC4_128_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_RSA_WITH_NULL_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDH_RSA_WITH_RC4_128_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_NULL_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_ECDSA_WITH_RC4_128_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_NULL_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_ECDHE_RSA_WITH_RC4_128_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_EMPTY_RENEGOTIATION_INFO_SCSV - 类 中的静态变量okhttp3.CipherSuite
 
TLS_FALLBACK_SCSV - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_EXPORT_WITH_RC4_40_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_EXPORT_WITH_RC4_40_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_WITH_3DES_EDE_CBC_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_WITH_DES_CBC_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_WITH_DES_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_WITH_RC4_128_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_KRB5_WITH_RC4_128_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_PSK_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_PSK_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_PSK_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_PSK_WITH_RC4_128_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_EXPORT_WITH_DES40_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_EXPORT_WITH_RC4_40_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_3DES_EDE_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_AES_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_AES_128_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_AES_128_GCM_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_AES_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_AES_256_CBC_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_AES_256_GCM_SHA384 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_CAMELLIA_128_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_CAMELLIA_256_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_DES_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_NULL_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_NULL_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_NULL_SHA256 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_RC4_128_MD5 - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_RC4_128_SHA - 类 中的静态变量okhttp3.CipherSuite
 
TLS_RSA_WITH_SEED_CBC_SHA - 类 中的静态变量okhttp3.CipherSuite
 
tlsVersion() - 类 中的方法okhttp3.Handshake
Returns the TLS version used for this connection.
TlsVersion - okhttp3中的枚举
Versions of TLS that can be offered when negotiating a secure socket.
tlsVersions(TlsVersion...) - 类 中的方法okhttp3.ConnectionSpec.Builder
 
tlsVersions(String...) - 类 中的方法okhttp3.ConnectionSpec.Builder
 
tlsVersions() - 类 中的方法okhttp3.ConnectionSpec
Returns the TLS versions to use when negotiating a connection.
toMultimap() - 类 中的方法okhttp3.Headers
 
topPrivateDomain() - 类 中的方法okhttp3.HttpUrl
Returns the domain name of this URL's HttpUrl.host() that is one level beneath the public suffix by consulting the public suffix list.
toString() - 类 中的方法okhttp3.Address
 
toString() - 类 中的方法okhttp3.CacheControl
 
toString() - 类 中的方法okhttp3.Challenge
 
toString() - 类 中的方法okhttp3.CipherSuite
 
toString() - 类 中的方法okhttp3.ConnectionSpec
 
toString() - 类 中的方法okhttp3.Cookie
 
toString() - 类 中的方法okhttp3.Headers
 
toString() - 类 中的方法okhttp3.HttpUrl.Builder
 
toString() - 类 中的方法okhttp3.HttpUrl
 
toString() - 类 中的方法okhttp3.MediaType
Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a Content-Type header.
toString() - 枚举 中的方法okhttp3.Protocol
Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or "h2".
toString() - 类 中的方法okhttp3.Request
 
toString() - 类 中的方法okhttp3.Response
 
toString() - 类 中的方法okhttp3.Route
 
type() - 类 中的方法okhttp3.MediaType
Returns the high-level media type, such as "text", "image", "audio", "video", or "application".
type() - 类 中的方法okhttp3.MultipartBody
 

U

uri() - 类 中的方法okhttp3.HttpUrl
Returns this URL as a java.net.URI.
url() - 类 中的方法okhttp3.Address
Returns a URL with the hostname and port of the origin server.
url() - 类 中的方法okhttp3.HttpUrl
Returns this URL as a java.net.URL.
url(HttpUrl) - 类 中的方法okhttp3.Request.Builder
 
url(String) - 类 中的方法okhttp3.Request.Builder
Sets the URL target of this request.
url(URL) - 类 中的方法okhttp3.Request.Builder
Sets the URL target of this request.
url() - 类 中的方法okhttp3.Request
 
urls() - 类 中的方法okhttp3.Cache
Returns an iterator over the URLs in this cache.
username(String) - 类 中的方法okhttp3.HttpUrl.Builder
 
username() - 类 中的方法okhttp3.HttpUrl
Returns the decoded username, or an empty string if none is present.

V

value(String) - 类 中的方法okhttp3.Cookie.Builder
 
value() - 类 中的方法okhttp3.Cookie
Returns a possibly-empty string with this cookie's value.
value(int) - 类 中的方法okhttp3.FormBody
 
value(int) - 类 中的方法okhttp3.Headers
Returns the value at index.
valueOf(String) - 枚举 中的静态方法okhttp3.Protocol
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法okhttp3.TlsVersion
返回带有指定名称的该类型的枚举常量。
values(String) - 类 中的方法okhttp3.Headers
Returns an immutable list of the header values for name.
values() - 枚举 中的静态方法okhttp3.Protocol
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法okhttp3.TlsVersion
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

WebSocket - okhttp3中的接口
A non-blocking interface to a web socket.
WebSocket.Factory - okhttp3中的接口
 
WebSocketListener - okhttp3中的类
 
WebSocketListener() - 类 的构造器okhttp3.WebSocketListener
 
withCharset(Charset) - 类 中的方法okhttp3.Challenge
Returns a copy of this charset that expects a credential encoded with charset.
withConnectTimeout(int, TimeUnit) - 接口 中的方法okhttp3.Interceptor.Chain
 
withReadTimeout(int, TimeUnit) - 接口 中的方法okhttp3.Interceptor.Chain
 
withWriteTimeout(int, TimeUnit) - 接口 中的方法okhttp3.Interceptor.Chain
 
writeAbortCount() - 类 中的方法okhttp3.Cache
 
writeSuccessCount() - 类 中的方法okhttp3.Cache
 
writeTimeout(long, TimeUnit) - 类 中的方法okhttp3.OkHttpClient.Builder
Sets the default write timeout for new connections.
writeTimeoutMillis() - 接口 中的方法okhttp3.Interceptor.Chain
 
writeTimeoutMillis() - 类 中的方法okhttp3.OkHttpClient
Default write timeout (in milliseconds).
writeTo(BufferedSink) - 类 中的方法okhttp3.FormBody
 
writeTo(BufferedSink) - 类 中的方法okhttp3.MultipartBody
 
writeTo(BufferedSink) - 类 中的方法okhttp3.RequestBody
Writes the content of this request to sink.
A B C D E F G H I J K L M N O P Q R S T U V W 
跳过导航链接

Copyright © 2018. All Rights Reserved.