- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for createClient (1.6 sec)
-
src/main/java/org/codelibs/fess/storage/StorageClientFactory.java
} } /** * Creates a StorageClient using the default FessConfig. * * @return configured StorageClient */ public static StorageClient createClient() { return createClient(ComponentUtil.getFessConfig()); } /** * Parses a storage type string to StorageType enum. * * @param typeStr the type string (s3, gcs, s3_compat, auto)Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java
/** * Creates a new instance of CrawlerEngineClient. */ public CrawlerEngineClient() { super(); } @Override protected Client createClient() { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String[] hosts =Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} }); if (logger.isDebugEnabled()) { logger.debug("Tags updated: from={}, to={}", tagItems, tags); } try (StorageClient client = StorageClientFactory.createClient()) { client.setObjectTags(objectName, tags); } catch (final Exception e) { throw new StorageException("Failed to update tags for " + objectName, e); } } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 22.1K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
return mimeType.toMediaTypeOrNull() } private fun isSpecialHeader(s: String): Boolean = s.equals("Content-Type", ignoreCase = true) fun Main.commonRun() { client = createClient() val request = createRequest() try { val response = client!!.newCall(request).execute() if (showHeaders) { println(StatusLine.get(response)) val headers = response.headers
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
/** * Connects to the OpenSearch cluster. * Creates a new client and waits for cluster health to be yellow or better. */ public void connect() { destroy(); client = createClient(); final String[] indices = targetIndices != null ? targetIndices : new String[0]; final ClusterHealthResponse healthResponse =Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 02:01:26 UTC 2025 - 26.2K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
LoggingUtil.configureLogging(debug = verbose, showHttp2Frames = showHttp2Frames, sslDebug = sslDebug) commonRun() } fun createRequest(): Request = commonCreateRequest() fun createClient(): Call.Factory { val builder = OkHttpClient.Builder() builder.followSslRedirects(followRedirects) if (connectTimeout != DEFAULT_TIMEOUT) { builder.connectTimeout(connectTimeout.toLong(), SECONDS)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
// Should not throw NullPointerException try { // Note: We can't easily test connect() fully without mocking createClient() // This test verifies the null check logic indirectly final String[] indices = fesenClient.targetIndices != null ? fesenClient.targetIndices : new String[0]; assertNotNull(indices);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0)