- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 779 for Executes (0.13 sec)
-
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
val request = Request .Builder() .url("https://sni.cloudflaressl.com/cdn-cgi/trace") .header("Host", "cloudflare-dns.com") .build() client.newCall(request).execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.protocol).isEqualTo(Protocol.HTTP_2) assertThat(response.body.string()).contains("h=cloudflare-dns.com") } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
private void sendRequest(OkHttpClient client, String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { assertTrue(response.code() == 200 || response.code() == 404); assertEquals(Protocol.HTTP_2, response.protocol()); for (Certificate c: response.handshake().peerCertificates()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 26 06:37:08 UTC 2021 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); 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();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
} private void parallelDrainQueue(int threadCount) { ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int i = 0; i < threadCount; i++) { executor.execute(() -> { try { drainQueue(); } catch (Throwable e) { e.printStackTrace(); } }); } executor.shutdown(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
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 (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Extended security negotiation flag */ int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800; /** Resolve paths in DFS flag */ int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000; /** Permit read if execute permission flag */ int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000; /** 32-bit status codes flag */ int FLAGS2_STATUS32 = 0x4000; /** Unicode strings flag */ int FLAGS2_UNICODE = 0x8000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/debugging/README.md
### Installing xl-meta To install, [Go](https://golang.org/dl/) must be installed. Once installed, execute this to install the binary: ```bash go install github.com/minio/minio/docs/debugging/xl-meta@latest ``` ### Using xl-meta
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 8.6K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvnenc
# Apache Maven Encrypt Script # # Environment Variable Prerequisites # # JAVA_HOME (Optional) Points to a Java installation. # MAVEN_OPTS (Optional) Java runtime options used when Maven is executed. # MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files. # -----------------------------------------------------------------------------
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 18 11:01:21 UTC 2024 - 1.3K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvnsh
# Apache Maven Encrypt Script # # Environment Variable Prerequisites # # JAVA_HOME (Optional) Points to a Java installation. # MAVEN_OPTS (Optional) Java runtime options used when Maven is executed. # MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files. # -----------------------------------------------------------------------------
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Dec 17 09:50:45 UTC 2024 - 1.3K bytes - Viewed (0) -
src/packaging/common/scripts/preinst
${packaging.scripts.header} # # This script is executed in the pre-installation phase # # On Debian, # $1=install : indicates an new install # $1=upgrade : indicates an upgrade # # On RedHat, # $1=1 : indicates an new install # $1=2 : indicates an upgrade # Sets the default values for fess variables used in this script FESS_USER="${packaging.fess.user}" FESS_GROUP="${packaging.fess.group}"
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 01 09:48:15 UTC 2016 - 2.3K bytes - Viewed (0)