- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,741 for Builds (0.06 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
Request request = new Request.Builder() .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay. .build(); // Copy to customize OkHttp for this request. OkHttpClient client1 = client.newBuilder() .readTimeout(500, TimeUnit.MILLISECONDS) .build(); try (Response response = client1.newCall(request).execute()) { System.out.println("Response 1 succeeded: " + response);
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
.addInterceptor( new BasicAuthInterceptor("publicobject.com", "jesse", "password1")) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/secrets/hellosecret.txt") .build(); try (Response response = client.newCall(request).execute()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Nov 05 07:46:46 UTC 2018 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java
.header("Cache-Control", "max-age=60") .build(); }; private final OkHttpClient client; public RewriteResponseCacheControl(File cacheDirectory) throws Exception { Cache cache = new Cache(cacheDirectory, 1024 * 1024); cache.evictAll(); client = new OkHttpClient.Builder() .cache(cache) .build(); } public void run() throws Exception {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocketChannelTest.kt
HeldCertificate.Builder() .commonName(hostname) .addSubjectAlternativeName(hostname) .build() HandshakeCertificates.Builder() .heldCertificate(heldCertificate) .addTrustedCertificate(heldCertificate.certificate) .build() } private var acceptedHostName: String? = null private lateinit var server: MockWebServer @BeforeEach
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
private InternerBuilder() {} /** * Instructs the {@link InternerBuilder} to build a strong interner. * * @see Interners#newStrongInterner() */ public InternerBuilder strong() { this.strong = true; return this; } /** * Instructs the {@link InternerBuilder} to build a weak interner. * * @see Interners#newWeakInterner() */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
src/cmd/buildid/buildid.go
// <= go 1.7 doesn't embed the contentID or actionID, so no slash is present if !strings.Contains(id, "/") { log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file) } newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash) if len(newID) != len(id) { log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID) } if len(matches) == 0 { return }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
* directive: * * ```java * Request request = new Request.Builder() * .cacheControl(new CacheControl.Builder().noCache().build()) * .url("http://publicobject.com/helloworld.txt") * .build(); * ``` * * If it is only necessary to force a cached response to be validated by the server, use the more * efficient `max-age=0` directive instead: * * ```java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
builder.put("key", "value"); assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value")); } public void testBuilderWithExpectedKeysPositive() { ImmutableMultimap.Builder<String, String> builder = ImmutableMultimap.builderWithExpectedKeys(1); builder.put("key", "value"); assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaToolchain.java
/** * Represents a Java toolchain in the Maven build system. * * <p>A Java toolchain is a specific type of toolchain that provides access * to Java development tools, such as the Java compiler and Java runtime * environment. This interface allows users to define and configure * Java-related toolchains that can be utilized during the build process * in Maven.</p> *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 1.7K bytes - Viewed (0)