- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 2,539 for Request (0.07 seconds)
-
docs/changelogs/changelog_3x.md
* New: Add the TLS version to the `Handshake`. * New: Drop `Request.uri()` and `Request#urlString()`. Just use `Request.url().uri()` and `Request.url().toString()`. * New: Add URL to HTTP response logging. * New: Make `HttpUrl` the blessed URL method of `Request`. ## Version 2.x [Change log](changelog_2x.md)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
import okhttp3.Call import okhttp3.Callback import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response class AsynchronousGet { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("http://publicobject.com/helloworld.txt") .build() client.newCall(request).enqueue( object : Callback { override fun onFailure(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
// Test path with both leading and trailing backslash request.setPath("\\test\\directory\\"); assertEquals("\\test\\directory", request.getPath()); // Test single backslash request.setPath("\\"); assertEquals("\\", request.getPath()); // Test empty path request.setPath(""); assertEquals("\\", request.getPath()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
docs/en/docs/contributing.md
/// tip Check the docs about [adding a pull request review](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-request-reviews) to approve it or request changes. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:59:26 GMT 2026 - 10.6K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmSsp.java
* for the specified servlet request. * * @param tc the CIFS context to use * * @param req * The request being serviced. * @param resp * The response. * @param challenge * The domain controller challenge. * @return credentials passed in the servlet request * @throws IOExceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
} /** * Set the create contexts for this request * @param contexts the create contexts to set */ public void setCreateContexts(CreateContextRequest[] contexts) { this.createContexts = contexts; } /** * Add a create context to this request * @param context the create context to add */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
} @Test fun request() { val request: Request = Request.Builder().build() val isHttps: Boolean = request.isHttps val url: HttpUrl = request.url val method: String = request.method val headers: Headers = request.headers val header: String? = request.header("") val headersForName: List<String> = request.headers("") val body: RequestBody? = request.bodyCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt
MockResponse .Builder() .status("HTTP/1.1 200 ${"O".repeat(256 * 1024)}K") .body("I'm not even supposed to be here today.") .build(), ) val call = client.newCall(Request(url = server.url("/"))) assertFailsWith<IOException> { call.execute() } } /** Use a header that exceeds the limits on its own. */ @Test fun largeResponseHeader() { server.enqueue(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 3.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
} /** * Returns true if the request contains conditions that save the server from sending a response * that the client has locally. When a request is enqueued with its own conditions, the built-in * response cache won't be used. */ private fun hasConditions(request: Request): Boolean = request.header("If-Modified-Since") != null || request.header("If-None-Match") != null }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
* direct dependencies from the request will be merged with the direct dependencies from the root dependency's * artifact descriptor, giving higher priority to the dependencies from the request. * * @param dependencies the direct dependencies, may be {@code null} * @return this request for chaining, never {@code null} */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 23K bytes - Click Count (0)