- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 989 for BUILDER (0.07 sec)
-
okhttp-logging-interceptor/README.md
An [OkHttp interceptor][interceptors] which logs HTTP request and response data. ```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(); logging.setLevel(Level.BASIC); OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(logging) .build(); ``` You can change the log level at any time by calling `setLevel()`. To log to a custom location, pass a `Logger` instance to the constructor. ```java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
// but types are typically only Comparable to themselves). @SuppressWarnings({"rawtypes", "unchecked"}) private static MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard( MinMaxPriorityQueue.Builder<Comparable> builder) { return (MinMaxPriorityQueue.Builder) builder; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java
* {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the settings builder to fail with a {@link SettingsBuilderException}. * * @return the problems that were encountered during the settings building, can be empty but never {@code null} */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java
* {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the settings builder to fail with a {@link ToolchainsBuilderException}. * * @return the problems that were encountered during the settings building, can be empty but never {@code null} */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java
import okhttp3.Request; import okhttp3.Response; public final class SynchronousGet { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .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.5K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingResult.java
package org.apache.maven.toolchain.building; import java.util.List; import org.apache.maven.building.Problem; import org.apache.maven.toolchain.model.PersistedToolchains; /** * Collects the output of the toolchains builder. * * @since 3.3.0 * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.ToolchainsBuilder} instead */ @Deprecated(since = "4.0.0") public interface ToolchainsBuildingResult { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
public String toString() { StringBuilder builder = new StringBuilder("BaseEncoding."); builder.append(alphabet); if (8 % alphabet.bitsPerChar != 0) { if (paddingChar == null) { builder.append(".omitPadding()"); } else { builder.append(".withPadChar('").append(paddingChar).append("')"); } } return builder.toString(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 41.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/UpgradeUtil.java
try { final PutMappingRequestBuilder builder = indicesClient.preparePutMapping(index).setSource(source, XContentType.JSON); final AcknowledgedResponse pmResponse = builder.execute().actionGet(); if (pmResponse.isAcknowledged()) { return true; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
import gradlebuild.docs.dsl.docbook.model.PropertyDoc class ClassDocMethodsBuilderTest extends XmlSpecification { final JavadocConverter javadocConverter = Mock() final ClassDocMethodsBuilder builder = new ClassDocMethodsBuilder(javadocConverter, null) def buildsMethodsForClass() { ClassMetaData classMetaData = classMetaData() MethodMetaData methodA = method('a', classMetaData)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.4K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt
val platform = PlatformRule() @Test fun get(server: MockWebServer) { server.enqueue(MockResponse(body = "hello, OkHttp")) val client = OkHttpClient() val request = Request.Builder() .url(server.url("/")) .header("Accept", "text/plain") .build() val response = client.newCall(request).execute() assertThat(response.code).isEqualTo(200)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0)