- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 2,006 for request (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/util/transport/RequestTest.java
} @Test void testGetNext() { // Test case for getNext method Request nextRequest = mock(Request.class); // Mock a chained request when(mockRequest.getNext()).thenReturn(nextRequest); Request actualNextRequest = mockRequest.getNext(); assertEquals(nextRequest, actualNextRequest, "Next request should match the mocked object."); verify(mockRequest, times(1)).getNext(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
This could have corrupted requests where multiple headers had the same name, as in cookies. * Fix: Reject bad characters in the URL hostname. Previously characters like `\0` would cause a late crash when building the request. * Fix: Allow interceptors to change the request method. * Fix: Don’t use the request's `User-Agent` or `Proxy-Authorization` whenCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
Response response = client.newCall(request).execute(); response.body().close(); } private static class LoggingInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException { long t1 = System.nanoTime(); Request request = chain.request(); 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: Fri Jan 01 15:55:32 GMT 2016 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/RequestParameter.java
*/ package org.codelibs.fess.entity; import java.util.Arrays; /** * Entity class representing a request parameter with a name and associated values. * This class encapsulates HTTP request parameters that can have multiple values, * such as query parameters, form parameters, or other request-related data. * * <p>This class is immutable and thread-safe. Once created, the parameter name * and values cannot be modified.</p>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
MockResponse(body = "this was the 2nd request on IPv4"), ) serverIpv6.enqueue( MockResponse(body = "unexpected call to IPv6"), ) // Confirm the retry succeeds on the same connection. val call = client.newCall(Request(url)) val response = call.execute() assertThat(response.body.string()).isEqualTo("this was the 2nd request on IPv4")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/CorsFilter.java
/** * HTTP OPTIONS method constant used for CORS preflight requests. */ protected static final String OPTIONS = "OPTIONS"; @Override public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain) throws IOException, ServletException { final HttpServletRequest httpRequest = (HttpServletRequest) request; final String origin = httpRequest.getHeader("Origin");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
import org.codelibs.fess.util.ComponentUtil; import org.dbflute.optional.OptionalThing; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; import org.lastaflute.web.servlet.request.RequestManager; public class FessUserLocaleProcessProviderTest extends UnitFessTestCase { private FessUserLocaleProcessProvider provider; @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClientManager.java
clientList.add(client); } /** * Performs a chat completion request using the configured LLM client. * * @param request the chat request * @return the chat response * @throws LlmException if LLM is not available or an error occurs */ public LlmChatResponse chat(final LlmChatRequest request) { final long startTime = System.currentTimeMillis();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 11:10:51 GMT 2026 - 17.4K bytes - Click Count (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
private var client = clientTestRule.newClientBuilder().build() @StartStop private val server = MockWebServer() val request by lazy { Request(server.url("/")) } @Test fun suspendCall() { runTest { server.enqueue(MockResponse(body = "abc")) val call = client.newCall(request) call.executeAsync().use { withContext(Dispatchers.IO) { assertThat(it.body.string()).isEqualTo("abc")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
CreateContextRequest request = mock(CreateContextRequest.class); when(request.getName()).thenReturn(expectedName); byte[] actualName = request.getName(); assertArrayEquals(expectedName, actualName); verify(request, times(1)).getName(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0)