Skip navigation links
A C D E F G H I L O P R S T U V 

A

addProxy(Proxy) - Method in class okhttp3.FakeProxySelector
 
allocate(int) - Method in class okhttp3.FakeDns
Allocates and returns count fake addresses like [255.0.0.100, 255.0.0.101].
appendingSink(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
 
apply(Statement, Description) - Method in class okhttp3.internal.io.InMemoryFileSystem
 
assertRequests(String...) - Method in class okhttp3.FakeDns
 
assertResponseCookies(String...) - Method in class okhttp3.RecordingCookieJar
 
awaitGarbageCollection() - Static method in class okhttp3.TestUtil
See FinalizationTester for discussion on how to best trigger GC in tests.

C

calls - Variable in class okhttp3.RecordingHostnameVerifier
 
clear(String) - Method in class okhttp3.FakeDns
Clears the results for hostname.
connectFailed(URI, SocketAddress, IOException) - Method in class okhttp3.FakeProxySelector
 

D

defaultClient() - Static method in class okhttp3.TestUtil
Returns an OkHttpClient for all tests to use as a starting point.
delete(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
 
deleteContents(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
 

E

enqueueRequestCookies(Cookie...) - Method in class okhttp3.RecordingCookieJar
 
ensureResourcesClosed() - Method in class okhttp3.internal.io.InMemoryFileSystem
 
exists(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
 

F

FakeDns - Class in okhttp3
 
FakeDns() - Constructor for class okhttp3.FakeDns
 
FakeProxySelector - Class in okhttp3
 
FakeProxySelector() - Constructor for class okhttp3.FakeProxySelector
 
FakeSSLSession - Class in okhttp3
 
FakeSSLSession(Certificate...) - Constructor for class okhttp3.FakeSSLSession
 

G

getApplicationBufferSize() - Method in class okhttp3.FakeSSLSession
 
getCipherSuite() - Method in class okhttp3.FakeSSLSession
 
getCreationTime() - Method in class okhttp3.FakeSSLSession
 
getId() - Method in class okhttp3.FakeSSLSession
 
getLastAccessedTime() - Method in class okhttp3.FakeSSLSession
 
getLocalCertificates() - Method in class okhttp3.FakeSSLSession
 
getLocalPrincipal() - Method in class okhttp3.FakeSSLSession
 
getPacketBufferSize() - Method in class okhttp3.FakeSSLSession
 
getPeerCertificateChain() - Method in class okhttp3.FakeSSLSession
 
getPeerCertificates() - Method in class okhttp3.FakeSSLSession
 
getPeerHost() - Method in class okhttp3.FakeSSLSession
 
getPeerPort() - Method in class okhttp3.FakeSSLSession
 
getPeerPrincipal() - Method in class okhttp3.FakeSSLSession
 
getProtocol() - Method in class okhttp3.FakeSSLSession
 
getSessionContext() - Method in class okhttp3.FakeSSLSession
 
getValue(String) - Method in class okhttp3.FakeSSLSession
 
getValueNames() - Method in class okhttp3.FakeSSLSession
 

H

headerEntries(String...) - Static method in class okhttp3.TestUtil
 

I

InMemoryFileSystem - Class in okhttp3.internal.io
A simple file system where all files are held in memory.
InMemoryFileSystem() - Constructor for class okhttp3.internal.io.InMemoryFileSystem
 
InstallUncaughtExceptionHandlerListener - Class in okhttp3.testing
A RunListener used to install an aggressive default Thread.UncaughtExceptionHandler similar to the one found on Android.
InstallUncaughtExceptionHandlerListener() - Constructor for class okhttp3.testing.InstallUncaughtExceptionHandlerListener
 
invalidate() - Method in class okhttp3.FakeSSLSession
 
isValid() - Method in class okhttp3.FakeSSLSession
 

L

loadForRequest(HttpUrl) - Method in class okhttp3.RecordingCookieJar
 
lookup(String, int) - Method in class okhttp3.FakeDns
 
lookup(String) - Method in class okhttp3.FakeDns
 

O

okhttp3 - package okhttp3
 
okhttp3.internal.io - package okhttp3.internal.io
 
okhttp3.testing - package okhttp3.testing
 

P

proxies - Variable in class okhttp3.FakeProxySelector
 
putValue(String, Object) - Method in class okhttp3.FakeSSLSession
 

R

RecordingCookieJar - Class in okhttp3
 
RecordingCookieJar() - Constructor for class okhttp3.RecordingCookieJar
 
RecordingHostnameVerifier - Class in okhttp3
 
RecordingHostnameVerifier() - Constructor for class okhttp3.RecordingHostnameVerifier
 
removeValue(String) - Method in class okhttp3.FakeSSLSession
 
rename(File, File) - Method in class okhttp3.internal.io.InMemoryFileSystem
 
repeat(char, int) - Static method in class okhttp3.TestUtil
 

S

saveFromResponse(HttpUrl, List<Cookie>) - Method in class okhttp3.RecordingCookieJar
 
select(URI) - Method in class okhttp3.FakeProxySelector
 
set(String, List<InetAddress>) - Method in class okhttp3.FakeDns
Sets the results for hostname.
sink(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
 
size(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
 
source(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
 

T

takeResponseCookies() - Method in class okhttp3.RecordingCookieJar
 
testRunFinished(Result) - Method in class okhttp3.testing.InstallUncaughtExceptionHandlerListener
 
testRunStarted(Description) - Method in class okhttp3.testing.InstallUncaughtExceptionHandlerListener
 
testStarted(Description) - Method in class okhttp3.testing.InstallUncaughtExceptionHandlerListener
 
TestUtil - Class in okhttp3
 

U

UNREACHABLE_ADDRESS - Static variable in class okhttp3.TestUtil
 

V

verify(String, SSLSession) - Method in class okhttp3.RecordingHostnameVerifier
 
A C D E F G H I L O P R S T U V 
Skip navigation links

Copyright © 2018. All Rights Reserved.