- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 2,539 for Request (0.08 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
} } // Make the first request waiting until we get our auth challenge. val request = Request(server.url("/")) blockingAuthClient.newCall(request).enqueue(callback) val response1 = responses.take() assertThat(response1).isEqualTo("") assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
docs/features/interceptors.md
```java class LoggingInterceptor implements Interceptor { @Override public Response intercept(Interceptor.Chain chain) throws IOException { Request request = chain.request(); long t1 = System.nanoTime(); logger.info(String.format("Sending request %s on %s%n%s", request.url(), chain.connection(), request.headers()));Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
/** A string like `GET` or `POST`. */ public val method: String, /** * The request target from the original HTTP request. * * For origin-form requests this is a path like `/index.html`, that is combined with the `Host` * header to create the request URL. * * For HTTP proxy requests this will be either an absolute-form string like
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 3.2K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java
buf.append("12345ABCDE"); request.setParameter("userCode", buf.toString()); assertEquals("12345abcde12345ABCDE", userInfoHelper.getUserCodeFromRequest(request)); request.setParameter("userCode", buf.toString() + "_"); assertEquals("12345abcde12345ABCDE_", userInfoHelper.getUserCodeFromRequest(request)); request.setParameter("userCode", buf.toString() + " ");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java
* * @param request The execution request to populate, must not be {@code null}. * @param toolchains The toolchains to copy into the execution request, may be {@code null}. * @return The populated execution request, never {@code null}. * @throws MavenExecutionRequestPopulationException If the execution request could not be populated. * @since 3.3.0 */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
} final LlmChatRequest request = new LlmChatRequest(); request.addSystemMessage(resolvedPrompt); addHistoryWithBudget(request, history, getHistoryMaxChars()); request.addUserMessage(wrapUserInput(userMessage)); applyPromptTypeParams(request, "faq"); request.setStream(true); streamChatWithConcurrencyControl(request, callback); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
// Arrange - generic return type respected when(tree.send(request)).thenReturn(response); // Act CommonServerMessageBlockResponse out = tree.send(request); // Assert assertSame(response, out); verify(tree).send(request); } @Test @DisplayName("send with multiple params returns the stubbed response")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/recipes.md
```java private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
docs/features/calls.md
The response answers the request with a code (like 200 for success or 404 for not found), headers, and its own optional body. ## Rewriting Requests When you provide OkHttp with an HTTP request, you’re describing the request at a high-level: _“fetch me this URL with these headers.”_ For correctness and efficiency, OkHttp rewrites your request before transmitting it.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 3.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestResult.java
* * @param <REQ> The type of the request * @param <REP> The type of the response, which must extend {@code Result<REQ>} * @param request The original request that was processed * @param result The result of the request, if successful; may be null if an error occurred * @param error Any error that occurred during processing; null if the request was successful * @since 4.0.0 */ @Experimental
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 2.3K bytes - Click Count (0)