Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 219 for httpclient (0.07 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

     * </p>
     *
     * <pre>
     * {@code
     * FtpClient ftpClient = new FtpClient();
     * ftpClient.init(); // Initialize with configured parameters
     * ResponseData responseData = ftpClient.doGet("ftp://example.com/path/to/file.txt");
     * // Process the responseData
     * ftpClient.close(); // Close and release resources
     * }
     * </pre>
     *
     * @author shinsuke
     */
    public class FtpClient extends AbstractCrawlerClient {
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        /** Property name for time to live setting */
        public static final String TIME_TO_LIVE_PROPERTY = "timeToLive";
    
        /**
         * Constructs a new HcHttpClient.
         */
        protected HcHttpClient() {
            // Default constructor
        }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 04:17:06 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java

                public static final String FTP_AUTHENTICATIONS = FtpClient.FTP_AUTHENTICATIONS_PROPERTY;
                public static final String ROBOTS_TXT_ENABLED = HcHttpClient.ROBOTS_TXT_ENABLED_PROPERTY;
                public static final String PROXY_PASSWORD = "proxyPassword";
                public static final String PROXY_USERNAME = "proxyUsername";
                public static final String PROXY_PORT = HcHttpClient.PROXY_PORT_PROPERTY;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

            if (StringUtil.isNotBlank(proxyHost) && StringUtil.isNotBlank(proxyPort)) {
                factoryParamMap.put(HcHttpClient.PROXY_HOST_PROPERTY, proxyHost);
                factoryParamMap.put(HcHttpClient.PROXY_PORT_PROPERTY, proxyPort);
                final String proxyUsername = paramMap.get(CRAWLER_WEB_PREFIX + "proxyUsername");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  5. CLAUDE.md

    - `Crawler.java`, `CrawlerContext.java`, `CrawlerThread.java`
    
    **Clients**: `fess-crawler/src/main/java/org/codelibs/fess/crawler/client/`
    - `http/` - `HcHttpClient.java`, `Hc4HttpClient.java`, `Hc5HttpClient.java`, `SwitchableHttpClient.java`
    - `fs/FileSystemClient.java`, `ftp/FtpClient.java`
    - `smb/SmbClient.java`, `smb1/SmbClient.java`
    - `storage/StorageClient.java`, `s3/S3Client.java`, `gcs/GcsClient.java`
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  6. docs/recipes.md

        ```java
          private final OkHttpClient client = new OkHttpClient();
    
          public void run() throws Exception {
            Request request = new Request.Builder()
                .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
                .build();
    
            // Copy to customize OkHttp for this request.
            OkHttpClient client1 = client.newBuilder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

          )
        }
      }
    
      @Test fun testH2PriorKnowledgeOkHttpClientConstructionSuccess() {
        val okHttpClient =
          OkHttpClient
            .Builder()
            .protocols(listOf(Protocol.H2_PRIOR_KNOWLEDGE))
            .build()
        assertThat(okHttpClient.protocols.size).isEqualTo(1)
        assertThat(okHttpClient.protocols[0]).isEqualTo(Protocol.H2_PRIOR_KNOWLEDGE)
      }
    
      @Test fun nullDefaultProxySelector() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

        /**
         * Returns the [CookieJar] for the OkHttpClient, or an override from the Call.Chain.
         */
        val cookieJar: CookieJar
    
        /**
         * Returns a new chain with the specified [CookieJar].
         */
        fun withCookieJar(cookieJar: CookieJar): Chain
    
        /**
         * Returns the [Cache] for the OkHttpClient, or an override from the Call.Chain.
         */
        val cache: Cache?
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java

     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import java.util.concurrent.TimeUnit;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class PerCallSettings {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.9K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

          }
        }
      }
    
      sealed interface Override<T> {
        fun Interceptor.Chain.value(): T
    
        fun Interceptor.Chain.withOverride(value: T): Interceptor.Chain
    
        fun OkHttpClient.Builder.withOverride(value: T): OkHttpClient.Builder
    
        val paramName: String?
          get() = null
    
        val nonDefaultValue: T
    
        val badValue: T
    
        fun isDefaultValue(value: T): Boolean
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
Back to Top