Dependencies
- com.squareup.okio/okio/1.15.0
- java/11
- org.codehaus.mojo/animal-sniffer-annotations/1.10
Declarations
-
okhttp3
-
Address
- url: HttpUrl
- dns: Dns
- proxyAuthenticator: Authenticator
- socketFactory: SocketFactory
- protocols: List<Protocol>
- connectionSpecs: List<ConnectionSpec>
- proxySelector: ProxySelector
- proxy: Proxy
- sslSocketFactory: SSLSocketFactory
- hostnameVerifier: HostnameVerifier
- certificatePinner: CertificatePinner
- Address(String, int, Dns, SocketFactory, SSLSocketFactory, HostnameVerifier, CertificatePinner, Authenticator, Proxy, List<Protocol>, List<ConnectionSpec>, ProxySelector): void
- url(): HttpUrl
- dns(): Dns
- socketFactory(): SocketFactory
- proxyAuthenticator(): Authenticator
- protocols(): List<Protocol>
- connectionSpecs(): List<ConnectionSpec>
- proxySelector(): ProxySelector
- proxy(): Proxy
- sslSocketFactory(): SSLSocketFactory
- hostnameVerifier(): HostnameVerifier
- certificatePinner(): CertificatePinner
- equals(Object): boolean
- hashCode(): int
- equalsNonHost(Address): boolean
- toString(): String
- Authenticator
-
Cache
- key(HttpUrl): String
- get(Request): Response
- urls(): Iterator<String>
- writeAbortCount(): int
- writeSuccessCount(): int
- size(): long
- maxSize(): long
- flush(): void
- close(): void
- directory(): File
- isClosed(): boolean
- cache: DiskLruCache
- writeSuccessCount: int
- writeAbortCount: int
- networkCount: int
- hitCount: int
- requestCount: int
- Cache(File, long): void
- put(Response): CacheRequest
- remove(Request): void
- update(Response, Response): void
- abortQuietly(Editor): void
- initialize(): void
- delete(): void
- evictAll(): void
- Cache(File, long, FileSystem): void
- VERSION: int
- ENTRY_METADATA: int
- ENTRY_BODY: int
- ENTRY_COUNT: int
- internalCache: InternalCache
- trackResponse(CacheStrategy): void
- trackConditionalCacheHit(): void
- networkCount(): int
- hitCount(): int
- requestCount(): int
- CacheRequestImpl
- Entry
- readInt(BufferedSource): int
- CacheResponseBody
-
CacheControl
- FORCE_NETWORK: CacheControl
- FORCE_CACHE: CacheControl
- noCache: boolean
- noStore: boolean
- maxAgeSeconds: int
- sMaxAgeSeconds: int
- isPrivate: boolean
- isPublic: boolean
- mustRevalidate: boolean
- maxStaleSeconds: int
- minFreshSeconds: int
- onlyIfCached: boolean
- noTransform: boolean
- immutable: boolean
- headerValue: String
- CacheControl(boolean, boolean, int, int, boolean, boolean, boolean, int, int, boolean, boolean, boolean, String): void
- CacheControl(Builder): void
- noCache(): boolean
- noStore(): boolean
- maxAgeSeconds(): int
- sMaxAgeSeconds(): int
- isPrivate(): boolean
- isPublic(): boolean
- mustRevalidate(): boolean
- maxStaleSeconds(): int
- minFreshSeconds(): int
- onlyIfCached(): boolean
- noTransform(): boolean
- immutable(): boolean
- parse(Headers): CacheControl
- toString(): String
- headerValue(): String
- Builder
- Call
- Callback
-
CertificatePinner
- DEFAULT: CertificatePinner
- pins: Set<Pin>
- certificateChainCleaner: CertificateChainCleaner
- CertificatePinner(Set<Pin>, CertificateChainCleaner): void
- equals(Object): boolean
- hashCode(): int
- check(String, List<Certificate>): void
- check(String, Certificate[]): void
- findMatchingPins(String): List<Pin>
- withCertificateChainCleaner(CertificateChainCleaner): CertificatePinner
- pin(Certificate): String
- sha1(X509Certificate): ByteString
- sha256(X509Certificate): ByteString
- Pin
- Builder
-
Challenge
- realm(): String
- charset(): Charset
- scheme: String
- authParams: Map<String, String>
- Challenge(String, Map<String, String>): void
- Challenge(String, String): void
- withCharset(Charset): Challenge
- scheme(): String
- authParams(): Map<String, String>
- equals(Object): boolean
- hashCode(): int
- toString(): String
-
CipherSuite
- toString(): String
- TLS_RSA_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_DHE_DSS_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_DHE_RSA_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_DH_anon_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_RSA_WITH_NULL_SHA256: CipherSuite
- TLS_RSA_WITH_AES_128_CBC_SHA256: CipherSuite
- TLS_RSA_WITH_AES_256_CBC_SHA256: CipherSuite
- TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_ECDHE_RSA_WITH_NULL_SHA: CipherSuite
- TLS_ECDHE_RSA_WITH_RC4_128_SHA: CipherSuite
- ORDER_BY_NAME: Comparator<String>
- INSTANCES: Map<String, CipherSuite>
- TLS_RSA_WITH_NULL_MD5: CipherSuite
- TLS_RSA_WITH_NULL_SHA: CipherSuite
- TLS_RSA_EXPORT_WITH_RC4_40_MD5: CipherSuite
- TLS_RSA_WITH_RC4_128_MD5: CipherSuite
- TLS_RSA_WITH_RC4_128_SHA: CipherSuite
- TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: CipherSuite
- TLS_RSA_WITH_DES_CBC_SHA: CipherSuite
- TLS_RSA_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: CipherSuite
- TLS_DHE_DSS_WITH_DES_CBC_SHA: CipherSuite
- TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: CipherSuite
- TLS_DHE_RSA_WITH_DES_CBC_SHA: CipherSuite
- TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: CipherSuite
- TLS_DH_anon_WITH_RC4_128_MD5: CipherSuite
- TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: CipherSuite
- TLS_DH_anon_WITH_DES_CBC_SHA: CipherSuite
- TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_KRB5_WITH_DES_CBC_SHA: CipherSuite
- TLS_KRB5_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_KRB5_WITH_RC4_128_SHA: CipherSuite
- TLS_KRB5_WITH_DES_CBC_MD5: CipherSuite
- TLS_KRB5_WITH_3DES_EDE_CBC_MD5: CipherSuite
- TLS_KRB5_WITH_RC4_128_MD5: CipherSuite
- TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: CipherSuite
- TLS_KRB5_EXPORT_WITH_RC4_40_SHA: CipherSuite
- TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: CipherSuite
- TLS_KRB5_EXPORT_WITH_RC4_40_MD5: CipherSuite
- TLS_RSA_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_DHE_DSS_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_DHE_RSA_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_DH_anon_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: CipherSuite
- TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: CipherSuite
- TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: CipherSuite
- TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: CipherSuite
- TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: CipherSuite
- TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: CipherSuite
- TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: CipherSuite
- TLS_DH_anon_WITH_AES_128_CBC_SHA256: CipherSuite
- TLS_DH_anon_WITH_AES_256_CBC_SHA256: CipherSuite
- TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: CipherSuite
- TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: CipherSuite
- TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: CipherSuite
- TLS_PSK_WITH_RC4_128_SHA: CipherSuite
- TLS_PSK_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_PSK_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_PSK_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_RSA_WITH_SEED_CBC_SHA: CipherSuite
- TLS_RSA_WITH_AES_128_GCM_SHA256: CipherSuite
- TLS_RSA_WITH_AES_256_GCM_SHA384: CipherSuite
- TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: CipherSuite
- TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: CipherSuite
- TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: CipherSuite
- TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: CipherSuite
- TLS_DH_anon_WITH_AES_128_GCM_SHA256: CipherSuite
- TLS_DH_anon_WITH_AES_256_GCM_SHA384: CipherSuite
- TLS_EMPTY_RENEGOTIATION_INFO_SCSV: CipherSuite
- TLS_FALLBACK_SCSV: CipherSuite
- TLS_ECDH_ECDSA_WITH_NULL_SHA: CipherSuite
- TLS_ECDH_ECDSA_WITH_RC4_128_SHA: CipherSuite
- TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_ECDHE_ECDSA_WITH_NULL_SHA: CipherSuite
- TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: CipherSuite
- TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_ECDH_RSA_WITH_NULL_SHA: CipherSuite
- TLS_ECDH_RSA_WITH_RC4_128_SHA: CipherSuite
- TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_ECDH_anon_WITH_NULL_SHA: CipherSuite
- TLS_ECDH_anon_WITH_RC4_128_SHA: CipherSuite
- TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: CipherSuite
- TLS_ECDH_anon_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_ECDH_anon_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: CipherSuite
- TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: CipherSuite
- TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: CipherSuite
- TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: CipherSuite
- TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: CipherSuite
- TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: CipherSuite
- TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: CipherSuite
- TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: CipherSuite
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: CipherSuite
- TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: CipherSuite
- TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: CipherSuite
- TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: CipherSuite
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: CipherSuite
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: CipherSuite
- TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: CipherSuite
- TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: CipherSuite
- TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: CipherSuite
- TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: CipherSuite
- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: CipherSuite
- TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: CipherSuite
- TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: CipherSuite
- TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: CipherSuite
- TLS_AES_128_GCM_SHA256: CipherSuite
- TLS_AES_256_GCM_SHA384: CipherSuite
- TLS_CHACHA20_POLY1305_SHA256: CipherSuite
- TLS_AES_128_CCM_SHA256: CipherSuite
- TLS_AES_256_CCM_8_SHA256: CipherSuite
- javaName: String
- forJavaName(String): CipherSuite
- secondaryName(String): String
- forJavaNames(String[]): List<CipherSuite>
- CipherSuite(String): void
- init(String, int): CipherSuite
- javaName(): String
- Connection
-
ConnectionPool
- executor: Executor
- maxIdleConnections: int
- keepAliveDurationNs: long
- cleanupRunnable: Runnable
- connections: Deque<RealConnection>
- routeDatabase: RouteDatabase
- cleanupRunning: boolean
- ConnectionPool(): void
- ConnectionPool(int, long, TimeUnit): void
- idleConnectionCount(): int
- connectionCount(): int
- get(Address, StreamAllocation, Route): RealConnection
- deduplicate(Address, StreamAllocation): Socket
- put(RealConnection): void
- connectionBecameIdle(RealConnection): boolean
- evictAll(): void
- cleanup(long): long
- pruneAndGetAllocationCount(RealConnection, long): int
-
ConnectionSpec
- cipherSuites: String[]
- tlsVersions: String[]
- RESTRICTED_CIPHER_SUITES: CipherSuite[]
- APPROVED_CIPHER_SUITES: CipherSuite[]
- RESTRICTED_TLS: ConnectionSpec
- MODERN_TLS: ConnectionSpec
- COMPATIBLE_TLS: ConnectionSpec
- CLEARTEXT: ConnectionSpec
- tls: boolean
- supportsTlsExtensions: boolean
- ConnectionSpec(Builder): void
- isTls(): boolean
- cipherSuites(): List<CipherSuite>
- tlsVersions(): List<TlsVersion>
- supportsTlsExtensions(): boolean
- apply(SSLSocket, boolean): void
- supportedSpec(SSLSocket, boolean): ConnectionSpec
- isCompatible(SSLSocket): boolean
- equals(Object): boolean
- hashCode(): int
- toString(): String
- Builder
-
Cookie
- persistent(): boolean
- expiresAt(): long
- hostOnly(): boolean
- domain(): String
- path(): String
- httpOnly(): boolean
- secure(): boolean
- matches(HttpUrl): boolean
- YEAR_PATTERN: Pattern
- MONTH_PATTERN: Pattern
- DAY_OF_MONTH_PATTERN: Pattern
- TIME_PATTERN: Pattern
- name: String
- value: String
- expiresAt: long
- domain: String
- path: String
- secure: boolean
- httpOnly: boolean
- persistent: boolean
- hostOnly: boolean
- Cookie(String, String, long, String, String, boolean, boolean, boolean, boolean): void
- Cookie(Builder): void
- name(): String
- value(): String
- domainMatch(String, String): boolean
- pathMatch(HttpUrl, String): boolean
- parse(HttpUrl, String): Cookie
- parse(long, HttpUrl, String): Cookie
- parseExpires(String, int, int): long
- dateCharacterOffset(String, int, int, boolean): int
- parseMaxAge(String): long
- parseDomain(String): String
- parseAll(HttpUrl, Headers): List<Cookie>
- Builder
- toString(): String
- toString(boolean): String
- equals(Object): boolean
- hashCode(): int
- CookieJar
- Credentials
-
Dispatcher
- maxRequests: int
- maxRequestsPerHost: int
- idleCallback: Runnable
- executorService: ExecutorService
- readyAsyncCalls: Deque<AsyncCall>
- runningAsyncCalls: Deque<AsyncCall>
- runningSyncCalls: Deque<RealCall>
- Dispatcher(ExecutorService): void
- Dispatcher(): void
- executorService(): ExecutorService
- setMaxRequests(int): void
- getMaxRequests(): int
- setMaxRequestsPerHost(int): void
- getMaxRequestsPerHost(): int
- setIdleCallback(Runnable): void
- enqueue(AsyncCall): void
- cancelAll(): void
- promoteAndExecute(): boolean
- runningCallsForHost(AsyncCall): int
- executed(RealCall): void
- finished(AsyncCall): void
- finished(RealCall): void
- finished(Deque<Object>, Object): void
- queuedCalls(): List<Call>
- runningCalls(): List<Call>
- queuedCallsCount(): int
- runningCallsCount(): int
- Dns
-
EventListener
- NONE: EventListener
- factory(EventListener): Factory
- callStart(Call): void
- dnsStart(Call, String): void
- dnsEnd(Call, String, List<InetAddress>): void
- connectStart(Call, InetSocketAddress, Proxy): void
- secureConnectStart(Call): void
- secureConnectEnd(Call, Handshake): void
- connectEnd(Call, InetSocketAddress, Proxy, Protocol): void
- connectFailed(Call, InetSocketAddress, Proxy, Protocol, IOException): void
- connectionAcquired(Call, Connection): void
- connectionReleased(Call, Connection): void
- requestHeadersStart(Call): void
- requestHeadersEnd(Call, Request): void
- requestBodyStart(Call): void
- requestBodyEnd(Call, long): void
- responseHeadersStart(Call): void
- responseHeadersEnd(Call, Response): void
- responseBodyStart(Call): void
- responseBodyEnd(Call, long): void
- callEnd(Call): void
- callFailed(Call, IOException): void
- Factory
-
FormBody
- CONTENT_TYPE: MediaType
- encodedNames: List<String>
- encodedValues: List<String>
- FormBody(List<String>, List<String>): void
- size(): int
- encodedName(int): String
- name(int): String
- encodedValue(int): String
- value(int): String
- contentType(): MediaType
- contentLength(): long
- writeTo(BufferedSink): void
- writeOrCountBytes(BufferedSink, boolean): long
- Builder
-
Handshake
- tlsVersion: TlsVersion
- cipherSuite: CipherSuite
- peerCertificates: List<Certificate>
- localCertificates: List<Certificate>
- Handshake(TlsVersion, CipherSuite, List<Certificate>, List<Certificate>): void
- get(SSLSession): Handshake
- get(TlsVersion, CipherSuite, List<Certificate>, List<Certificate>): Handshake
- tlsVersion(): TlsVersion
- cipherSuite(): CipherSuite
- peerCertificates(): List<Certificate>
- peerPrincipal(): Principal
- localCertificates(): List<Certificate>
- localPrincipal(): Principal
- equals(Object): boolean
- hashCode(): int
-
Headers
- namesAndValues: String[]
- Headers(Builder): void
- Headers(String[]): void
- get(String): String
- getDate(String): Date
- size(): int
- name(int): String
- value(int): String
- names(): Set<String>
- values(String): List<String>
- byteCount(): long
- newBuilder(): Builder
- equals(Object): boolean
- hashCode(): int
- toString(): String
- toMultimap(): Map<String, List<String>>
- get(String[], String): String
- of(String[]): Headers
- of(Map<String, String>): Headers
- checkName(String): void
- checkValue(String, String): void
- Builder
-
HttpUrl
- encodedPath(): String
- HEX_DIGITS: char[]
- USERNAME_ENCODE_SET: String
- PASSWORD_ENCODE_SET: String
- PATH_SEGMENT_ENCODE_SET: String
- PATH_SEGMENT_ENCODE_SET_URI: String
- QUERY_ENCODE_SET: String
- QUERY_COMPONENT_REENCODE_SET: String
- QUERY_COMPONENT_ENCODE_SET: String
- QUERY_COMPONENT_ENCODE_SET_URI: String
- FORM_ENCODE_SET: String
- FRAGMENT_ENCODE_SET: String
- FRAGMENT_ENCODE_SET_URI: String
- scheme: String
- username: String
- password: String
- host: String
- port: int
- pathSegments: List<String>
- queryNamesAndValues: List<String>
- fragment: String
- url: String
- HttpUrl(Builder): void
- url(): URL
- uri(): URI
- scheme(): String
- isHttps(): boolean
- encodedUsername(): String
- username(): String
- encodedPassword(): String
- password(): String
- host(): String
- port(): int
- defaultPort(String): int
- pathSize(): int
- querySize(): int
- pathSegmentsToString(StringBuilder, List<String>): void
- encodedPathSegments(): List<String>
- pathSegments(): List<String>
- encodedQuery(): String
- namesAndValuesToQueryString(StringBuilder, List<String>): void
- queryStringToNamesAndValues(String): List<String>
- query(): String
- queryParameter(String): String
- queryParameterNames(): Set<String>
- queryParameterValues(String): List<String>
- queryParameterName(int): String
- queryParameterValue(int): String
- encodedFragment(): String
- fragment(): String
- redact(): String
- resolve(String): HttpUrl
- newBuilder(): Builder
- newBuilder(String): Builder
- parse(String): HttpUrl
- get(String): HttpUrl
- get(URL): HttpUrl
- get(URI): HttpUrl
- equals(Object): boolean
- hashCode(): int
- toString(): String
- topPrivateDomain(): String
- Builder
- percentDecode(String, boolean): String
- percentDecode(List<String>, boolean): List<String>
- percentDecode(String, int, int, boolean): String
- percentDecode(Buffer, String, int, int, boolean): void
- percentEncoded(String, int, int): boolean
- canonicalize(String, int, int, String, boolean, boolean, boolean, boolean, Charset): String
- canonicalize(Buffer, String, int, int, String, boolean, boolean, boolean, boolean, Charset): void
- canonicalize(String, String, boolean, boolean, boolean, boolean, Charset): String
- canonicalize(String, String, boolean, boolean, boolean, boolean): String
- Interceptor
-
MediaType
- TOKEN: String
- QUOTED: String
- TYPE_SUBTYPE: Pattern
- PARAMETER: Pattern
- mediaType: String
- type: String
- subtype: String
- charset: String
- MediaType(String, String, String, String): void
- get(String): MediaType
- parse(String): MediaType
- type(): String
- subtype(): String
- charset(): Charset
- charset(Charset): Charset
- toString(): String
- equals(Object): boolean
- hashCode(): int
-
MultipartBody
- Builder
- MIXED: MediaType
- ALTERNATIVE: MediaType
- DIGEST: MediaType
- PARALLEL: MediaType
- FORM: MediaType
- COLONSPACE: byte[]
- CRLF: byte[]
- DASHDASH: byte[]
- boundary: ByteString
- originalType: MediaType
- contentType: MediaType
- parts: List<Part>
- contentLength: long
- MultipartBody(ByteString, MediaType, List<Part>): void
- type(): MediaType
- boundary(): String
- size(): int
- parts(): List<Part>
- part(int): Part
- contentType(): MediaType
- contentLength(): long
- writeTo(BufferedSink): void
- writeOrCountBytes(BufferedSink, boolean): long
- appendQuotedString(StringBuilder, String): StringBuilder
- Part
-
OkHttpClient
- cache: Cache
- internalCache: InternalCache
- socketFactory: SocketFactory
- sslSocketFactory: SSLSocketFactory
- certificateChainCleaner: CertificateChainCleaner
- hostnameVerifier: HostnameVerifier
- certificatePinner: CertificatePinner
- proxyAuthenticator: Authenticator
- authenticator: Authenticator
- connectionPool: ConnectionPool
- dns: Dns
- followSslRedirects: boolean
- followRedirects: boolean
- retryOnConnectionFailure: boolean
- callTimeout: int
- connectTimeout: int
- readTimeout: int
- writeTimeout: int
- pingInterval: int
- OkHttpClient(): void
- DEFAULT_PROTOCOLS: List<Protocol>
- DEFAULT_CONNECTION_SPECS: List<ConnectionSpec>
- static class initializer
- $1
- dispatcher: Dispatcher
- proxy: Proxy
- protocols: List<Protocol>
- connectionSpecs: List<ConnectionSpec>
- interceptors: List<Interceptor>
- networkInterceptors: List<Interceptor>
- eventListenerFactory: Factory
- proxySelector: ProxySelector
- cookieJar: CookieJar
- OkHttpClient(Builder): void
- newSslSocketFactory(X509TrustManager): SSLSocketFactory
- callTimeoutMillis(): int
- connectTimeoutMillis(): int
- readTimeoutMillis(): int
- writeTimeoutMillis(): int
- pingIntervalMillis(): int
- proxy(): Proxy
- proxySelector(): ProxySelector
- cookieJar(): CookieJar
- cache(): Cache
- internalCache(): InternalCache
- dns(): Dns
- socketFactory(): SocketFactory
- sslSocketFactory(): SSLSocketFactory
- hostnameVerifier(): HostnameVerifier
- certificatePinner(): CertificatePinner
- authenticator(): Authenticator
- proxyAuthenticator(): Authenticator
- connectionPool(): ConnectionPool
- followSslRedirects(): boolean
- followRedirects(): boolean
- retryOnConnectionFailure(): boolean
- dispatcher(): Dispatcher
- protocols(): List<Protocol>
- connectionSpecs(): List<ConnectionSpec>
- interceptors(): List<Interceptor>
- networkInterceptors(): List<Interceptor>
- eventListenerFactory(): Factory
- newCall(Request): Call
- newWebSocket(Request, WebSocketListener): WebSocket
- newBuilder(): Builder
- Builder
- Protocol
-
RealCall
- client: OkHttpClient
- retryAndFollowUpInterceptor: RetryAndFollowUpInterceptor
- timeout: AsyncTimeout
- eventListener: EventListener
- originalRequest: Request
- forWebSocket: boolean
- executed: boolean
- RealCall(OkHttpClient, Request, boolean): void
- newRealCall(OkHttpClient, Request, boolean): RealCall
- request(): Request
- execute(): Response
- timeoutExit(IOException): IOException
- captureCallStackTrace(): void
- enqueue(Callback): void
- cancel(): void
- timeout(): Timeout
- isExecuted(): boolean
- isCanceled(): boolean
- clone(): RealCall
- streamAllocation(): StreamAllocation
- AsyncCall
- toLoggableString(): String
- redactedUrl(): String
- getResponseWithInterceptorChain(): Response
-
Request
- headers(): Headers
- header(String): String
- url: HttpUrl
- method: String
- headers: Headers
- body: RequestBody
- tags: Map<Class<Object>, Object>
- cacheControl: CacheControl
- Request(Builder): void
- url(): HttpUrl
- method(): String
- headers(String): List<String>
- body(): RequestBody
- tag(): Object
- tag(Class<Object>): Object
- newBuilder(): Builder
- cacheControl(): CacheControl
- isHttps(): boolean
- toString(): String
- Builder
- RequestBody
-
Response
- request: Request
- protocol: Protocol
- code: int
- message: String
- handshake: Handshake
- headers: Headers
- body: ResponseBody
- networkResponse: Response
- cacheResponse: Response
- priorResponse: Response
- sentRequestAtMillis: long
- receivedResponseAtMillis: long
- cacheControl: CacheControl
- Response(Builder): void
- request(): Request
- protocol(): Protocol
- code(): int
- isSuccessful(): boolean
- message(): String
- handshake(): Handshake
- headers(String): List<String>
- header(String): String
- header(String, String): String
- headers(): Headers
- peekBody(long): ResponseBody
- body(): ResponseBody
- newBuilder(): Builder
- isRedirect(): boolean
- networkResponse(): Response
- cacheResponse(): Response
- priorResponse(): Response
- challenges(): List<Challenge>
- cacheControl(): CacheControl
- sentRequestAtMillis(): long
- receivedResponseAtMillis(): long
- close(): void
- toString(): String
- Builder
-
ResponseBody
- reader: Reader
- contentType(): MediaType
- contentLength(): long
- byteStream(): InputStream
- source(): BufferedSource
- bytes(): byte[]
- charStream(): Reader
- string(): String
- charset(): Charset
- close(): void
- create(MediaType, String): ResponseBody
- create(MediaType, byte[]): ResponseBody
- create(MediaType, ByteString): ResponseBody
- create(MediaType, long, BufferedSource): ResponseBody
- BomAwareReader
- Route
- TlsVersion
- WebSocket
- WebSocketListener
- internal
-
Address