Home
last modified time | relevance | path

Searched refs:DISCONNECT_AFTER_REQUEST (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DSocketPolicy.java51 DISCONNECT_AFTER_REQUEST, enumConstant
DMockWebServer.java528 if (response.getSocketPolicy() == SocketPolicy.DISCONNECT_AFTER_REQUEST) {
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionReuseTest.java151 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST)); in silentRetryWhenIdempotentRequestFailsOnReusedConnection()
DCallTest.java883 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST)); in recoverWhenRetryOnConnectionFailureIsTrue()
896 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST)); in noRecoverWhenRetryOnConnectionFailureIsFalse()
1086 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST)); in postBodyRetransmittedOnFailureRecovery()
DURLConnectionTest.java2703 server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AFTER_REQUEST));