- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 1,698 for Build (0.03 sec)
-
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
* .add(hostname, "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") * .build(); * OkHttpClient client = OkHttpClient.Builder() * .certificatePinner(certificatePinner) * .build(); * * Request request = new Request.Builder() * .url("https://" + hostname) * .build(); * client.newCall(request).execute(); * ``` *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
Cache( directory = cacheDirectory, // 1 MiB. maxSize = 10L * 1024L * 1024L, ), ) .build() fun run() { val request = Request.Builder() .url("http://publicobject.com/helloworld.txt") .build() val response1Body = client.newCall(request).execute().use { if (!it.isSuccessful) throw IOException("Unexpected code $it")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
.socketFactory(new UnixDomainSocketFactory(socketFile)) .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)) .build(); Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.body().string()); } server.shutdown();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Dec 24 03:46:30 UTC 2018 - 2.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java
private final Map<Object, Object> map = new MapMaker().makeMap(); // Returns ConcurrentHashMap private final Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); private final Cache<Object, Object> cacheNoStats = CacheBuilder.newBuilder().build(); @BeforeExperiment void setUp() { map.put(TEST_KEY, TEST_VALUE); cache.put(TEST_KEY, TEST_VALUE); cacheNoStats.put(TEST_KEY, TEST_VALUE); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 05 17:21:46 UTC 2022 - 1.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
enableTls() val tlsVersion = TlsVersion.forJavaName(tlsVersion) val spec = ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) .tlsVersions(tlsVersion) .build() var reuseSession = false val sslContext = handshakeCertificates.sslContext() val systemSslSocketFactory = sslContext.socketFactory val sslSocketFactory =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
this.builder = builder; this.settingsXmlFactory = settingsXmlFactory; } @Override public SettingsBuildingResult build(SettingsBuildingRequest request) throws SettingsBuildingException { try { SettingsBuilderResult result = builder.build(SettingsBuilderRequest.builder() .session((Session) java.lang.reflect.Proxy.newProxyInstance(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/missing-plugin-artifactId-pom.xml
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/missing-plugin-version-pom.xml
<modelVersion>4.0.0</modelVersion> <artifactId>foo</artifactId> <groupId>foo</groupId> <version>99.44</version> <packaging>bleh</packaging> <build> <plugins> <plugin> <artifactId>maven-it-plugin</artifactId> </plugin> </plugins> </build>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashMultimap.java
/** * Creates a new, empty {@code HashMultimap} with the default initial capacities. * * <p>You may also consider the equivalent {@code * MultimapBuilder.hashKeys().hashSetValues().build()}, which provides more control over the * underlying data structure. */ public static <K extends @Nullable Object, V extends @Nullable Object> HashMultimap<K, V> create() { return new HashMultimap<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 10:02:49 UTC 2024 - 6.1K bytes - Viewed (0) -
apache-maven/src/assembly/src.xml
<exclude>**/*.iml</exclude> <exclude>**/*.ipr</exclude> <exclude>**/.idea/**</exclude> <exclude>**/.DS_Store</exclude> <exclude>**/build/**</exclude> </excludes> </fileSet> <fileSet> <directory>${project.build.directory}/maven-shared-archive-resources/META-INF</directory> <outputDirectory>/</outputDirectory> <includes> <include>DEPENDENCIES</include>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Apr 27 13:14:24 UTC 2022 - 2.2K bytes - Viewed (0)