Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 205 for httpclient (0.11 sec)

  1. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    import jcifs.ntlmssp.Type3Message;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    
    /**
     * Wraps an <code>HttpURLConnection</code> to provide NTLM authentication
     * services.
     *
     * Please read <a href="../../../httpclient.html">Using jCIFS NTLM Authentication for HTTP Connections</a>.
     * 
     * Warning: Do not use this if there is a chance that you might have multiple connections (even plain
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          this.fastFallback = okHttpClient.fastFallback
          this.authenticator = okHttpClient.authenticator
          this.followRedirects = okHttpClient.followRedirects
          this.followSslRedirects = okHttpClient.followSslRedirects
          this.cookieJar = okHttpClient.cookieJar
          this.cache = okHttpClient.cache
          this.dns = okHttpClient.dns
          this.proxy = okHttpClient.proxy
          this.proxySelector = okHttpClient.proxySelector
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                return null;
            }
        }
    
        protected FTPClient getClient(final FtpInfo info) throws IOException {
            FTPClient ftpClient = ftpClientQueue.poll();
            if (ftpClient != null) {
                if (ftpClient.isAvailable()) {
                    return ftpClient;
                }
                try {
                    ftpClient.disconnect();
                } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/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;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/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");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

    import java.net.UnknownHostException
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    
    /**
     * Temporary registry of known DNS over HTTPS providers.
     *
     * https://github.com/curl/curl/wiki/DNS-over-HTTPS
     */
    object DohProviders {
      private fun buildGoogle(bootstrapClient: OkHttpClient): DnsOverHttps {
        return DnsOverHttps.Builder()
          .client(bootstrapClient)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/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() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

        public FtpClient ftpClient;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("ftpClient", FtpClient.class);
            ftpClient = container.getComponent("ftpClient");
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

     */
    @RunWith(AndroidJUnit4.class)
    public class IssueReproductionTest {
      @Test public void getFailsWithoutAdditionalCert() throws IOException {
        OkHttpClient client = new OkHttpClient();
    
        sendRequest(client, "https://google.com/robots.txt");
      }
    
      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
                .build();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. 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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
Back to top