- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 99 for requested (0.24 sec)
-
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
if (previous != null) hostnameCount = previous; if (hostnameCount.incrementAndGet() > 100) return; Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { String responseSource = response.networkResponse() != null ? ("(network: " + response.networkResponse().code() + " over "
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 4.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Address.kt
* server's hostname and port. If an explicit proxy is requested (or [no proxy][Proxy.NO_PROXY] is * explicitly requested), this also includes that proxy information. For secure connections the * address also includes the SSL socket factory, hostname verifier, and certificate pinner. * * HTTP requests that share the same [Address] may also share the same [Connection]. */ class Address(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
// No authorization header for the first request... var request = server.takeRequest() assertThat(request.headers["Authorization"]).isNull() // ...but the three requests that follow requests include an authorization header. for (i in 0..2) { request = server.takeRequest() assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1") assertThat(request.headers["Authorization"])
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
/** * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until * the already-requested ones are in service, otherwise we might create more threads than we need. * * We use [executeCallCount] and [runCallCount] to defend against starting more threads than we
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Response.kt
* * Use the `request` of the [networkResponse] field to get the wire-level request that was * transmitted. In the case of follow-ups and redirects, also look at the `request` of the * [priorResponse] objects, which have its own [priorResponse]. */ @get:JvmName("request") val request: Request, /** Returns the HTTP protocol, such as [Protocol.HTTP_1_1] or [Protocol.HTTP_1_0]. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 15.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
private var contextSwitchCount = 0 /** Guarded by [TaskRunner.lock]. */ private var activeThreads = 0 /** A task runner that posts tasks to this fake. Tasks won't be executed until requested. */ val taskRunner: TaskRunner = TaskRunner( object : TaskRunner.Backend { override fun execute( taskRunner: TaskRunner, runnable: Runnable, ) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 12.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
* certificate authority is not possible. * * The server’s TLS certificate still must match the requested hostname. For example, if the * certificate is issued to `example.com` and the request is to `localhost`, the connection will * fail. Use a custom [HostnameVerifier] to ignore such problems. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.5K bytes - Viewed (1) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
return false // No more requests on this socket. } val request = readRequest(socket, source, sink, sequenceNumber) atomicRequestCount.incrementAndGet() requestQueue.add(request) if (request.failure != null) { return false // Nothing to respond to. } val response = dispatcher.dispatch(request)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 37.4K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
* this path's segments. For example, if this path is `/foo` this cookie matches requests to * `/foo` and `/foo/bar`, but not `/` or `/football`. */ @get:JvmName("path") val path: String, /** Returns true if this cookie should be limited to only HTTPS requests. */ @get:JvmName("secure") val secure: Boolean, /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0)