- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,929 for buildup (0.1 sec)
-
okhttp/src/test/java/okhttp3/CorrettoTest.kt
assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build() client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } @Test @Disabled fun testGoogle() { assumeNetwork() val request = Request.Builder().url("https://google.com/robots.txt").build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java
import org.apache.maven.settings.validation.SettingsValidator; /** * A factory to create settings builder instances when no dependency injection is available. Note: This class * is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system, * Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java
private final OkHttpClient client = new OkHttpClient(); private final Moshi moshi = new Moshi.Builder().build(); private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class); public void run() throws Exception { Request request = new Request.Builder() .url("https://api.github.com/gists/c2a7c39532239ff261be") .build(); try (Response response = client.newCall(request).execute()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.8K bytes - Viewed (0) -
docs/features/interceptors.md
Register an _application_ interceptor by calling `addInterceptor()` on `OkHttpClient.Builder`: ```java OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(new LoggingInterceptor()) .build(); Request request = new Request.Builder() .url("http://www.publicobject.com/helloworld.txt") .header("User-Agent", "OkHttp Example") .build(); Response response = client.newCall(request).execute();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
val packageName = "okhttp3.internal.idn" val idnaMappingTable = ClassName(packageName, "IdnaMappingTable") return FileSpec.builder(packageName, "IdnaMappingTableInstance") .addProperty( PropertySpec.builder("IDNA_MAPPING_TABLE", idnaMappingTable) .addModifiers(KModifier.INTERNAL) .initializer( """ |%T(⇥ |sections = "%L",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
public abstract <K extends K0, V extends V0> Multimap<K, V> build(); /** * Returns a {@code Multimap} with the specified implementation, initialized with the entries of * {@code multimap}. */ public <K extends K0, V extends V0> Multimap<K, V> build( Multimap<? extends K, ? extends V> multimap) { Multimap<K, V> result = build(); result.putAll(multimap); return result; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 17.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
client = client.newBuilder() .connectionPool(ConnectionPool(0, 5, TimeUnit.SECONDS)) .build() server.enqueue( MockResponse.Builder() .code(301) .addHeader("Location: /b") .bodyDelay(1, TimeUnit.SECONDS) .body("a") .build(), ) server.enqueue(MockResponse(body = "b")) val request = Request(server.url("/"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
.<String, Integer>immutable() .build(); assertThat(emptyGraph.isDirected()).isTrue(); assertThat(emptyGraph.allowsSelfLoops()).isTrue(); assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural()); } /** * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder * changes. */ @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
} } } } @Test fun timeoutCall() { runTest { server.enqueue( MockResponse.Builder() .bodyDelay(5, TimeUnit.SECONDS) .body("abc") .build(), ) val call = client.newCall(request) try { withTimeout(1.seconds) { call.executeAsync().use {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionBean.java
private int terminateAfter = 0; public void build(SearchRequestBuilder builder) { if (explain != null) { builder.setExplain(explain); } if (minScore != null) { builder.setMinScore(minScore); } if (preference != null) { builder.setPreference(preference); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 17.8K bytes - Viewed (0)