Home
last modified time | relevance | path

Searched refs:isSuccessful (Results 1 – 25 of 25) sorted by relevance

/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DCacheResponse.java42 if (!response1.isSuccessful()) throw new IOException("Unexpected code " + response1); in run()
50 if (!response2.isSuccessful()) throw new IOException("Unexpected code " + response2); in run()
DAccessHeaders.java35 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DPostForm.java38 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DPostString.java46 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DSynchronousGet.java33 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DCertificatePinning.java45 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DPostFile.java41 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DAsynchronousGet.java39 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DParseResponseWithGson.java34 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DPostMultipart.java54 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DAuthenticate.java50 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DCheckHandshake.java56 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DPostStreaming.java61 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DRewriteResponseCacheControl.java67 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DRequestBodyCompression.java58 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DProgress.java59 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
DCustomTrust.java51 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); in run()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordedResponse.java69 assertTrue(response.isSuccessful()); in assertSuccessful()
74 assertFalse(response.isSuccessful()); in assertNotSuccessful()
/external/junit/src/org/junit/experimental/results/
DResultMatchers.java20 public static Matcher<PrintableResult> isSuccessful() { in isSuccessful() method in ResultMatchers
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponse.java95 public boolean isSuccessful() { in isSuccessful() method in Response
/external/okhttp/
DCHANGELOG.md253 * New: `Response.isSuccessful()` is a convenient API to check response codes.
/external/owasp/sanitizer/lib/junit/
Djunit-dep.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/libphonenumber/lib/
Djunit-4.8.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...