- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,051 for aquest (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
.build() server.enqueue(MockResponse(body = "abc1")) server.enqueue(MockResponse(body = "abc2")) val request = Request(server.url("/")) client.newCall(request).execute().use { response -> assertEquals(200, response.code) } client.connectionPool.evictAll() assertEquals(0, client.connectionPool.connectionCount())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (1) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
private void injectSession(ArtifactResolutionRequest request) { MavenSession session = legacySupport.getSession(); if (session != null) { request.setOffline(session.isOffline()); request.setForceUpdate(session.getRequest().isUpdateSnapshots()); request.setServers(session.getRequest().getServers()); request.setMirrors(session.getRequest().getMirrors());Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 36.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt
/** * Returns a response to satisfy `request`. This method may block (for instance, to wait on * a CountdownLatch). */ @Throws(InterruptedException::class) public abstract fun dispatch(request: RecordedRequest): MockResponse /** * Returns an early guess of the next response, used for policy on how an incoming request should
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt
* connections should expect repetition of stream IDs. * * Return true to request cancellation of a pushed stream. Note that this does not guarantee * future frames won't arrive on the stream ID. */ interface PushObserver { /** * Describes the request that the server intends to push a response for. * * @param streamId server-initiated stream ID: an even number.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data. You can override these exception handlers with your own. ### Override request validation exceptions { #override-request-validation-exceptions } When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
if (previous != null) hostnameCount = previous; if (hostnameCount.getAndIncrement() >= hostLimit) 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 "
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
/** * Constructs a SMB2 set info request with the specified configuration * * @param config * the configuration to use for this request */ public Smb2SetInfoRequest(final Configuration config) { this(config, Smb2Constants.UNSPECIFIED_FILEID); } /** * Constructs a SMB2 set info request with the specified configuration and file ID *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
durableHandleRequested = true; // Add to create request if (createRequest != null) { createRequest.addDurableHandleContext(handleType, timeout, handleGuid); } } private void reconnectWithDurableHandle(HandleInfo handle) throws IOException { Smb2CreateRequest request = new Smb2CreateRequest(); request.setPath(handle.path); request.addReconnectContext(handle.fileId);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
*/ package jcifs.netbios; import java.io.IOException; import java.io.InputStream; import jcifs.Configuration; import jcifs.NetbiosName; /** * NetBIOS session request packet implementation. * This packet is used to initiate NetBIOS session connections. */ public class SessionRequestPacket extends SessionServicePacket { private final Name calledName, callingName;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt
if (x * i == n) return "${factor(x)} × $i" } return n.toString() } } val request = Request( url = "https://api.github.com/markdown/raw".toHttpUrl(), body = requestBody, ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0)