Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for createClient (0.1 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                final SetObjectTagsArgs args =
                        SetObjectTagsArgs.builder().bucket(fessConfig.getStorageBucket()).object(objectName).tags(tags).build();
                createClient(fessConfig).setObjectTags(args);
            } catch (final Exception e) {
                throw new StorageException("Failed to update tags for " + objectName, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/CrawlerEngineClient.java

    import org.opensearch.common.settings.Settings;
    import org.opensearch.common.settings.Settings.Builder;
    
    public class CrawlerEngineClient extends FesenClient {
        @Override
        protected Client createClient() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String[] hosts =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

      return mimeType.toMediaTypeOrNull()
    }
    
    private fun isSpecialHeader(s: String): Boolean {
      return 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            onConnectListenerList.add(listener);
        }
    
        public boolean connected() {
            return connected;
        }
    
        public void connect() {
            destroy();
            client = createClient();
    
            final ClusterHealthResponse healthResponse =
                    get(c -> c.admin().cluster().prepareHealth(targetIndices).setWaitForYellowStatus().execute());
            if (!healthResponse.isTimedOut()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top