- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 2,037 for Request (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
* - 2 requests happen concurrently to a host that can be coalesced onto a single connection. * - Both request discover no existing connection. They both make a connection. * - The first request "wins the race". * - The second request discovers it "lost the race" and closes the connection it just opened. * - The second request uses the coalesced connection from request1.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jun 19 11:44:16 GMT 2025 - 19.1K 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) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
server.protocols = listOf(Protocol.HTTP_2, Protocol.HTTP_1_1) server.enqueue(MockResponse()) server.enqueue(MockResponse()) client .newCall(Request(server.url("/"))) .execute() .close() client .newCall(Request(server.url("/"))) .execute() .close() assertThat(listener.recordedEventTypes()).containsExactly( "ConnectStart", "ConnectEnd",
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 9.7K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial003_py310.py
from fastapi import APIRouter, FastAPI, Request, Response from fastapi.routing import APIRoute class TimedRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: before = time.time() response: Response = await original_route_handler(request) duration = time.time() - before
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("send(Request, varargs) delegates with null response") void sendWithRequestVarargsDelegates() throws Exception { // Verifies Request<T> overload forwards to the varargs form with a null response @SuppressWarnings("unchecked") Request<CommonServerMessageBlockResponse> req = mock(Request.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
override fun createRequestBody( request: Request, contentLength: Long, ): Sink = when { request.body?.isDuplex() == true -> { throw ProtocolException( "Duplex connections are not supported for HTTP/1", ) } request.isChunked -> { newChunkedSink() } // Stream a request body of unknown length. contentLength != -1L -> {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.Nullable; import static java.util.Objects.requireNonNull; /** * A request to resolve a version range to a list of matching versions. * This request is used by {@link VersionRangeResolver} to expand version ranges * (e.g., "[3.8,4.0)") into concrete versions available in the configured repositories. * * @since 4.0.0 */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 10.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/UploadForm.java
/** * Form for uploading search request files to the Fess search engine. * This form is used in the admin interface to upload search request configuration files * that define search behaviors and request handling. */ public class UploadForm { /** * The multipart file containing the search request configurations to be uploaded. * This file should contain search request definitions and configurations. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/WebApiFilter.java
*/ @Override public void destroy() { // nothing } /** * Filters HTTP requests and processes them through appropriate web API managers. * * @param request The servlet request * @param response The servlet response * @param chain The filter chain * @throws IOException If an I/O error occursCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
assertSame(request, req); assertSame(response, res); } }; // Setup WebApiManagerFactory that returns null WebApiManagerFactory factory = new WebApiManagerFactory() { @Override public WebApiManager get(HttpServletRequest req) { assertSame(request, req); return null; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 26.5K bytes - Click Count (0)