- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for RequestFailed (0.22 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
) { logWithTime("requestBodyEnd: byteCount=$byteCount") delegate.requestBodyEnd(call, byteCount) } override fun requestFailed( call: Call, ioe: IOException, ) { logWithTime("requestFailed: $ioe") delegate.requestFailed(call, ioe) } override fun responseHeadersStart(call: Call) { logWithTime("responseHeadersStart")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
} @Override public void requestBodyEnd(Call call, long byteCount) { printEvent("requestBodyEnd"); } @Override public void requestFailed(Call call, IOException ioe) { printEvent("requestFailed"); } @Override public void responseHeadersStart(Call call) { printEvent("responseHeadersStart"); }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 6.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
try { codec.flushRequest() } catch (e: IOException) { eventListener.requestFailed(call, e) trackFailure(e) throw e } } @Throws(IOException::class) fun finishRequest() { try { codec.finishRequest() } catch (e: IOException) { eventListener.requestFailed(call, e) trackFailure(e) throw e } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.2K bytes - Viewed (2) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
override fun requestBodyEnd( call: Call, byteCount: Long, ) = logEvent(RequestBodyEnd(System.nanoTime(), call, byteCount)) override fun requestFailed( call: Call, ioe: IOException, ) = logEvent(RequestFailed(System.nanoTime(), call, ioe)) override fun responseHeadersStart(call: Call) = logEvent(ResponseHeadersStart(System.nanoTime(), call)) override fun responseHeadersEnd(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9K bytes - Viewed (1) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
override fun requestBodyEnd( call: Call, byteCount: Long, ) { logWithTime("requestBodyEnd: byteCount=$byteCount") } override fun requestFailed( call: Call, ioe: IOException, ) { logWithTime("requestFailed: $ioe") } override fun responseHeadersStart(call: Call) { logWithTime("responseHeadersStart") } override fun responseHeadersEnd(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 5.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
} @Override public void requestBodyEnd(Call call, long byteCount) { printEvent("requestBodyEnd"); } @Override public void requestFailed(Call call, IOException ioe) { printEvent("requestFailed"); } @Override public void responseHeadersStart(Call call) { printEvent("responseHeadersStart"); }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
import okhttp3.CallEvent.Canceled import okhttp3.CallEvent.ConnectEnd import okhttp3.CallEvent.ConnectStart import okhttp3.CallEvent.ConnectionAcquired import okhttp3.CallEvent.ConnectionReleased import okhttp3.CallEvent.RequestFailed import okhttp3.CallEvent.ResponseFailed import okhttp3.DelegatingServerSocketFactory import okhttp3.DelegatingSocketFactory import okhttp3.MediaType import okhttp3.OkHttpClient import okhttp3.OkHttpClientTestRule
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 9.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
expectedEvents += "RequestHeadersEnd" expectedEvents += "RequestBodyStart" // ... but we can read the response even after writing the request fails. expectedEvents += "RequestFailed" expectedEvents += "ResponseHeadersStart" expectedEvents += "ResponseHeadersEnd" expectedEvents += "ResponseBodyStart" expectedEvents += "ResponseBodyEnd" expectedEvents += "ConnectionReleased"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/EventListener.kt
* * connect ([connectStart], [connectEnd], [connectFailed]) * * secure connect ([secureConnectStart], [secureConnectEnd]) * * connection held ([connectionAcquired], [connectionReleased]) * * request ([requestFailed]) * * headers ([requestHeadersStart], [requestHeadersEnd]) * * body ([requestBodyStart], [requestBodyEnd]) * * response ([responseFailed])
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.2K bytes - Viewed (0) -
okhttp-logging-interceptor/api/logging-interceptor.api
public fun proxySelectStart (Lokhttp3/Call;Lokhttp3/HttpUrl;)V public fun requestBodyEnd (Lokhttp3/Call;J)V public fun requestBodyStart (Lokhttp3/Call;)V public fun requestFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun requestHeadersEnd (Lokhttp3/Call;Lokhttp3/Request;)V public fun requestHeadersStart (Lokhttp3/Call;)V public fun responseBodyEnd (Lokhttp3/Call;J)V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 4.5K bytes - Viewed (1)