Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 116 for http2client (0.17 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
            } catch (final ClassNotFoundException e) {
                // ignore
            } catch (final Exception e) {
                logger.warn("Could not shutdown Commons HttpClient.", e);
            }
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/ResolveExceptionAnalyzer.java

            return isTimeoutException(rootCause) || isUnrecoverable5xxStatusCode(rootCause);
        }
    
        /**
         * See <a href="http://hc.apache.org/httpclient-3.x/exception-handling.html">HTTPClient exception handling</a> for more information.
         */
        private static boolean isTimeoutException(Throwable rootCause) {
            return rootCause instanceof InterruptedIOException;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. pkg/http/get.go

    func request(method, requestURL string, t time.Duration, headers map[string]string) (*bytes.Buffer, error) {
    	httpClient := &http.Client{
    		Timeout: t,
    	}
    
    	req, err := http.NewRequest(method, requestURL, nil)
    	if err != nil {
    		return nil, err
    	}
    	for k, v := range headers {
    		req.Header.Set(k, v)
    	}
    
    	response, err := httpClient.Do(req)
    	if err != nil {
    		return nil, err
    	}
    	defer response.Body.Close()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import org.eclipse.jetty.client.HttpClient
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /**
     * Jetty HTTP client.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. internal/config/dns/operator_dns.go

    	if err != nil {
    		return newError(bucket, err)
    	}
    	if err = c.addAuthHeader(req); err != nil {
    		return newError(bucket, err)
    	}
    
    	resp, err := c.httpClient.Do(req)
    	if err != nil {
    		if derr := c.Delete(bucket); derr != nil {
    			return newError(bucket, derr)
    		}
    		return err
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	if resp.StatusCode != http.StatusOK {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/java-platform/recommender/kotlin/platform/build.gradle.kts

    plugins {
        `java-platform`
    }
    
    // tag::define-platform[]
    dependencies {
        constraints {
            // Platform declares some versions of libraries used in subprojects
            api("commons-httpclient:commons-httpclient:3.1")
            api("org.apache.commons:commons-lang3:3.8.1")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 313 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/java-platform/recommender/groovy/platform/build.gradle

    plugins {
        id 'java-platform'
    }
    
    // tag::define-platform[]
    dependencies {
        constraints {
            // Platform declares some versions of libraries used in subprojects
            api 'commons-httpclient:commons-httpclient:3.1'
            api 'org.apache.commons:commons-lang3:3.8.1'
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 314 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/CrawlerEngineClient.java

     */
    package org.codelibs.fess.es.client;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fesen.client.HttpClient;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.FesenClient;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. fess-crawler-es/pom.xml

    			<artifactId>corelib</artifactId>
    			<version>${corelib.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.codelibs.fesen.client</groupId>
    			<artifactId>fesen-httpclient</artifactId>
    			<version>${fesen.httpclient.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.lastaflute</groupId>
    			<artifactId>lasta-di</artifactId>
    			<version>${lasta.di.version}</version>
    		</dependency>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 30 06:32:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        public void close() {
            if (httpClient == null) {
                return;
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Closing HcHttpClient...");
            }
            if (connectionMonitorTask != null) {
                connectionMonitorTask.cancel();
            }
            if (httpClient != null) {
                try {
                    httpClient.close();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top