Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 99 for HttpServer (0.35 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

        static final int MAX_CACHE_AGE_IN_DAYS = CacheConfigurationsInternal.DEFAULT_MAX_AGE_IN_DAYS_FOR_CREATED_CACHE_ENTRIES
    
        @Rule
        public final HttpServer server = new HttpServer()
        MavenHttpRepository repo
    
        def setup() {
            repo = new MavenHttpRepository(server, mavenRepo)
    
            repo.module("commons-io", "commons-io", "1.4").publish().allowAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/server.go

    		// use ReadHeaderTimeout instead of ReadTimeout.
    		s.httpServer.ReadTimeout = 0
    		s.httpServer.ReadHeaderTimeout = 30 * time.Second
    		s.httpServer.Handler = multiplexHandler
    	}
    
    	if args.ServerOptions.MonitoringAddr == "" {
    		s.monitoringMux = s.httpMux
    		log.Infof("initializing Istiod admin server multiplexed on httpAddr %v", s.httpServer.Addr)
    	} else {
    		log.Info("initializing Istiod admin server")
    	}
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpIntegTest.groovy

        @Rule
        ProgressLoggingFixture progressLogging = new ProgressLoggingFixture(executer, temporaryFolder)
        @Rule
        HttpServer server = new HttpServer()
    
        private IvyHttpModule module
        private IvyHttpRepository ivyHttpRepo
    
        final String group = "org.gradle"
        final String name = "publish"
        final String version = "2"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SendPartialResponseThenBlock.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.server.http;
    
    import com.sun.net.httpserver.HttpExchange;
    import org.gradle.internal.UncheckedException;
    import org.gradle.internal.time.Clock;
    import org.gradle.internal.time.Time;
    
    import java.io.IOException;
    import java.time.Duration;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenHttpRepoResolveIntegrationTest.groovy

    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.integtests.fixtures.executer.ProgressLoggingFixture
    import org.gradle.test.fixtures.encoding.Identifier
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.junit.Rule
    
    import javax.servlet.http.HttpServletRequest
    import javax.servlet.http.HttpServletResponse
    
    class MavenHttpRepoResolveIntegrationTest extends AbstractHttpDependencyResolutionTest {
        @Rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  6. scripts/docs.py

    import json
    import logging
    import os
    import re
    import shutil
    import subprocess
    from functools import lru_cache
    from http.server import HTTPServer, SimpleHTTPRequestHandler
    from importlib import metadata
    from multiprocessing import Pool
    from pathlib import Path
    from typing import Any, Dict, List, Optional, Union
    
    import mkdocs.commands.build
    import mkdocs.commands.serve
    import mkdocs.config
    import mkdocs.utils
    import typer
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 22 19:26:14 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitHttpRepository.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.vcs.fixtures;
    
    import com.sun.net.httpserver.HttpExchange;
    import org.apache.commons.io.IOUtils;
    import org.eclipse.jgit.api.errors.GitAPIException;
    import org.eclipse.jgit.lib.Ref;
    import org.eclipse.jgit.revwalk.RevCommit;
    import org.gradle.api.Action;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/gateway_simulation_test.go

    						RouteConfigMatched: "http.8081",
    						VirtualHostMatched: "example.com:8081",
    					},
    				},
    			},
    		})
    }
    
    func TestHTTPGateway(t *testing.T) {
    	httpServer := `port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "foo.bar"`
    	simpleRoute := `apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: vs
    spec:
      hosts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java

     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.server.http;
    
    import com.google.common.base.Charsets;
    import com.google.common.io.Files;
    import com.sun.net.httpserver.HttpExchange;
    import org.gradle.test.fixtures.server.http.BlockingHttpServer.BlockingRequest;
    import org.gradle.test.fixtures.server.http.BlockingHttpServer.BuildableExpectedRequest;
    import org.hamcrest.Matcher;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. pkg/registry/core/componentstatus/rest_test.go

    	prober := &fakeHttpProber{
    		result: resp.result,
    		body:   resp.data,
    		err:    resp.err,
    	}
    	return &REST{
    		GetServersToValidate: func() map[string]Server {
    			return map[string]Server{
    				"test1": &HttpServer{Addr: "testserver1", Port: 8000, Path: "/healthz", Prober: prober},
    			}
    		},
    	}
    }
    
    func createTestStatus(name string, status api.ConditionStatus, msg string, err string) *api.ComponentStatus {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top