- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 177 for newBuilder (1.27 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
if (StringUtil.isBlank(projectId)) { throw new IOException("GCS_PROJECT_ID is blank."); } try { final StorageOptions.Builder builder = StorageOptions.newBuilder().setProjectId(projectId); if (StringUtil.isNotBlank(endpoint)) { // For fake-gcs-server or custom endpoint builder.setHost(endpoint);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
*/ private static Settings adaptSettings(MavenExecutionRequest request) { File localRepo = request.getLocalRepositoryPath(); return new Settings(org.apache.maven.api.settings.Settings.newBuilder() .localRepository(localRepo != null ? localRepo.getAbsolutePath() : null) .interactiveMode(request.isInteractiveMode()) .offline(request.isOffline())Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 16.7K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 11.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
* resolveCoreExtension method which uses a CoreExtension * object instead of a Plugin as this makes no sense. */ Plugin plugin = Plugin.newBuilder() .groupId(interpolator.apply(extension.getGroupId())) .artifactId(interpolator.apply(extension.getArtifactId())) .version(interpolator.apply(extension.getVersion()))Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 13.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* .addInterceptor(new HttpLoggingInterceptor()) * .cache(new Cache(cacheDir, cacheSize)) * .build(); * ``` * * ## Customize Your Client With newBuilder() * * You can customize a shared OkHttpClient instance with [newBuilder]. This builds a client that * shares the same connection pool, thread pools, and configuration. Use the builder methods to * add configuration to the derived client for a specific purpose.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 51.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
* This method is called to set up the cache for XPathAPI instances. */ @Resource public void init() { xpathAPICache = CacheBuilder.newBuilder().expireAfterAccess(cacheDuration, TimeUnit.MINUTES).build(new CacheLoader<String, XPathAPI>() { @Override public XPathAPI load(final String key) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Oct 04 08:47:19 UTC 2025 - 10.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
.validityInterval(1, 2) .build() var client = buildClient(clientCert, clientIntermediateCa.certificate) val eventRecorder = EventRecorder() client = client .newBuilder() .eventListener(eventRecorder.eventListener) .build() val socketFactory = buildServerSslSocketFactory() server.useHttps(socketFactory) server.requireClientAuth()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 13K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
* resolveCoreExtension method which uses a CoreExtension * object instead of a Plugin as this makes no sense. */ Plugin plugin = Plugin.newBuilder() .groupId(interpolator.apply(extension.getGroupId())) .artifactId(interpolator.apply(extension.getArtifactId())) .version(interpolator.apply(extension.getVersion()))Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 13.9K bytes - Viewed (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
} /*-- END test "groupId/artifactId/version" metadata ---*/ @Test void testRoundtrip() throws Exception { Metadata source = new Metadata(org.apache.maven.api.metadata.Metadata.newBuilder( createMetadataFromArtifact(artifact).getDelegate(), true) .modelEncoding("UTF-16") .build()); ByteArrayOutputStream baos = new ByteArrayOutputStream();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() { * public Graph load(Key key) throws AnyException { * return createExpensiveGraph(key); * } * }; * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader); * } * * <p>Since this example doesn't support reloading or bulk loading, it can also be specified much * more simply: * * {@snippet :
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0)