Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for httpClient (0.12 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                    }
                }
            }
    
            httpClient = closeableHttpClient;
        }
    
        @PreDestroy
        public void destroy() {
            if (httpClient != null) {
                try {
                    httpClient.close();
                } catch (final IOException e) {
                    logger.error("Failed to close httpClient.", e);
                }
            }
        }
    
        @Override
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. 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)
  3. istioctl/pkg/admin/istiodconfig.go

    		}
    		scopeInfos = append(scopeInfos, si)
    	}
    	return scopeInfos, nil
    }
    
    type ControlzClient struct {
    	baseURL    *url.URL
    	httpClient *http.Client
    }
    
    func (c *ControlzClient) GetScopes() ([]*ScopeInfo, error) {
    	var scopeInfos []*ScopeInfo
    	resp, err := c.httpClient.Get(c.baseURL.String())
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/helper_test.go

    		if req.URL.Path != path {
    			t.Errorf("unexpected url: %v", req.URL)
    			return false
    		}
    		return true
    	}
    
    	tests := []struct {
    		Name            string
    		Resp            *http.Response
    		HTTPClient      *http.Client
    		HttpErr         error
    		Overwrite       bool
    		Object          runtime.Object
    		Namespace       string
    		NamespaceScoped bool
    		Subresource     string
    
    		ExpectPath   string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  5. pkg/spiffe/spiffe.go

    func RetrieveSpiffeBundleRootCerts(config map[string]string, caCertPool *x509.CertPool, retryTimeout time.Duration) (
    	map[string][]*x509.Certificate, error,
    ) {
    	httpClient := &http.Client{
    		Timeout: time.Second * 10,
    	}
    
    	ret := map[string][]*x509.Certificate{}
    	for trustDomain, endpoint := range config {
    		if !strings.HasPrefix(endpoint, "https://") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar

    class CorrectedWebdavResou extends org.apache.webdav.lib.WebdavResource { private java.util.Map headers; public void CorrectedWebdavResou(org.apache.commons.httpclient.HttpURL) throws java.io.IOException; public void setHeaders(java.util.Map); public java.util.Map getHeaders(); protected void generateAdditionalHe(org.apache.commons.httpclient.HttpMethod); public java.io.InputStream getMethodData(String) throws java.io.IOException; public void addRequestHeader(String, String); public boolean putMethod(String,...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            container = new StandardCrawlerContainer();
            container.<HcHttpClient> prototype("internalHttpClient", HcHttpClient.class, client -> {
                client.setCookieSpec(CookieSpecs.BEST_MATCH);
            }).prototype("httpClient", FaultTolerantClient.class, client -> {
                client.setCrawlerClient(container.getComponent("internalHttpClient"));
                client.setMaxRetryCount(5);
                client.setRetryInterval(500);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. fess-crawler/pom.xml

    			<artifactId>httpclient</artifactId>
    			<version>${httpcomponents.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.httpcomponents</groupId>
    			<artifactId>httpmime</artifactId>
    			<version>${httpcomponents.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.httpcomponents</groupId>
    			<artifactId>httpclient-cache</artifactId>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 30 06:32:24 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. internal/rest/client.go

    	MaxErrResponseSize int64
    
    	// Avoid metrics update if set to true
    	NoMetrics bool
    
    	// TraceOutput will print debug information on non-200 calls if set.
    	TraceOutput io.Writer // Debug trace output
    
    	httpClient   *http.Client
    	url          *url.URL
    	newAuthToken func(audience string) string
    
    	sync.RWMutex // mutex for lastErr
    	lastErr      error
    	lastErrTime  time.Time
    }
    
    type restError string
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. cmd/prepare-storage.go

    	serverURL := &url.URL{
    		Scheme: endpoint.Scheme,
    		Host:   endpoint.Host,
    		Path:   pathJoin(healthCheckPathPrefix, healthCheckLivenessPath),
    	}
    
    	httpClient := &http.Client{
    		Transport: globalInternodeTransport,
    	}
    
    	ctx, cancel := context.WithTimeout(GlobalContext, timeout)
    	defer cancel()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top