- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 1,476 for BUILD (0.01 sec)
-
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
.newBuilder() .followRedirects(NORMAL) .build() server.enqueue( MockResponse .Builder() .body("hello, Java HTTP Client") .build(), ) val request = HttpRequest .newBuilder(server.url("/").toUri()) .header("Accept", "text/plain") .build() val response = httpClient.send(request, BodyHandlers.ofString())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.8K bytes - Viewed (0) -
README.md
// Configure custom analyzers analyzers.addAnalyzer("custom", customAnalyzerSettings); }) .build(); Suggester customSuggester = Suggester.builder() .settings(settings) .readingConverter(new ReadingConverterChain()) .normalizer(new ICUNormalizer()) .build(client, "custom-suggest"); ``` ## Configuration Options ### Suggester Settings ```java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1) -
samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt
HandshakeCertificates .Builder() .addPlatformTrustedCertificates() .addInsecureHost(server.hostName) .build() val client = OkHttpClient .Builder() .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager) .build() fun run() { try { val request = Request(server.url("/"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt
class ParseResponseWithMoshi { private val client = OkHttpClient() private val moshi = Moshi.Builder().build() private val gistJsonAdapter = moshi.adapter(Gist::class.java) fun run() { val request = Request .Builder() .url("https://api.github.com/gists/c2a7c39532239ff261be") .build() client.newCall(request).execute().use { response ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java
super(false); this.startTime = startTime; this.format = format; } @Override public Object getValue(String expression) { if ("build.timestamp".equals(expression) || "maven.build.timestamp".equals(expression)) { if (formattedDate == null && startTime != null) { formattedDate = new SimpleDateFormat(format).format(startTime); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
.client(bootstrapClient) .url(url) .post(true) .build(), ) runBatch(badProviders, names) println("cached first run\n****************\n") names = listOf("google.com", "graph.facebook.com") bootstrapClient = bootstrapClient .newBuilder() .cache(dnsCache) .build() dnsProviders = providers( client = bootstrapClient,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
for (int rep = 0; rep < reps; rep++) { ImmutableList.Builder<Object> builder = ImmutableList.builder(); for (int i = 0; i < size; i++) { builder.add(OBJECT); } dummy += builder.build().size(); } return dummy; } @Benchmark int preSizedBuilderAdd(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.4K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java
import org.apache.maven.api.services.MavenException; /** * Represents an exception that occurs during the invocation of a Maven build or command. * This exception is typically thrown when there are errors during the execution of a Maven * process, such as build failures, plugin errors, or other runtime issues. * * @since 4.0.0 */ @Experimental public class InvokerException extends MavenException { /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Nov 13 14:14:56 UTC 2024 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
/** * A Maven lifecycle is a sequence of predefined phases that govern the build process * of a Maven project. Each phase represents a specific step, such as compiling the * code, running tests, packaging the project, and deploying it. Executing a phase * triggers all preceding phases, ensuring that each step of the build process is * completed in the correct order. The three main lifecycles in Maven are
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* building, it is still possible to change the options used to build the ThreadFactory and/or * build again. State is not shared amongst built instances. * * <p><b>Java 21+ users:</b> use {@link Thread.Builder#factory()} instead. * * @return the fully constructed {@link ThreadFactory} */ public ThreadFactory build() { return doBuild(this); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:35:26 UTC 2025 - 9K bytes - Viewed (0)