Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 122 for http_server (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy

    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.matchers.UserAgentMatcher
    import org.gradle.util.GradleVersion
    import org.junit.Rule
    import org.junit.Test
    
    @SuppressWarnings("IntegrationTestFixtures")
    class ExternalScriptExecutionIntegrationTest extends AbstractIntegrationTest {
        @Rule
        public final HttpServer server = new HttpServer()
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. pkg/registry/core/componentstatus/validator.go

    )
    
    const (
    	probeTimeOut = 20 * time.Second
    )
    
    type ValidatorFn func([]byte) error
    
    type Server interface {
    	DoServerCheck() (probe.Result, string, error)
    }
    
    type HttpServer struct {
    	Addr        string
    	Port        int
    	Path        string
    	EnableHTTPS bool
    	TLSConfig   *tls.Config
    	Validate    ValidatorFn
    	Prober      httpprober.Prober
    	Once        sync.Once
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 13:08:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy

    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.fixtures.server.http.MavenHttpModule
    import org.gradle.test.fixtures.server.http.MavenHttpRepository
    import org.junit.Rule
    import spock.lang.Issue
    
    class MavenPublishHttpIntegTest extends AbstractMavenPublishIntegTest {
    
        @Rule
        HttpServer server
        @Rule
        HttpServer redirectServer
    
        final String repoPath = "/repo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpPluginRepository.groovy

            pluginRepo.configure(executer)
            return pluginRepo
        }
    
        MavenHttpPluginRepository(MavenFileRepository backingRepository) {
            super(new HttpServer(), "/m2", backingRepository)
        }
    
        public <T extends GradleExecuter> T configure(T executer) {
            executer.beforeExecute(new Action<GradleExecuter>() {
                void execute(GradleExecuter e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy

    import static org.junit.Assert.assertTrue
    
    class CacheProjectIntegrationTest extends AbstractIntegrationTest {
        static final String TEST_FILE = "build/test.txt"
    
        @Rule
        public final HttpServer server = new HttpServer()
    
        TestFile projectDir
        TestFile userHomeDir
        TestFile buildFile
        TestFile classPathClassesDir
        TestFile classFile
        TestFile artifactsCache
        Set<TestFile> visitedBaseDirs
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. samples/extauthz/cmd/extauthz/main.go

    		log.Fatalf("Failed to create HTTP server: %v", err)
    	}
    	// Store the port for test only.
    	s.httpPort <- listener.Addr().(*net.TCPAddr).Port
    	s.httpServer = &http.Server{Handler: s}
    
    	log.Printf("Starting HTTP server at %s", listener.Addr())
    	if err := s.httpServer.Serve(listener); err != nil {
    		log.Fatalf("Failed to start HTTP server: %v", err)
    	}
    }
    
    func (s *ExtAuthzServer) run(httpAddr, grpcAddr string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	Sym     Symbolizer
    	Obj     ObjTool
    	UI      UI
    
    	// HTTPServer is a function that should block serving http requests,
    	// including the handlers specified in args.  If non-nil, pprof will
    	// invoke this function if necessary to provide a web interface.
    	//
    	// If HTTPServer is nil, pprof will use its own internal HTTP server.
    	//
    	// A common use for a custom HTTPServer is to provide custom
    	// authentication checks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiAuthenticationIntegrationTest.groovy

     */
    
    package org.gradle.jvm.toolchain
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.junit.Rule
    
    import static JavaToolchainDownloadUtil.applyToolchainResolverPlugin
    import static JavaToolchainDownloadUtil.singleUrlResolverCode
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:25 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ResponseProducer.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 java.io.IOException;
    
    interface ResponseProducer {
        default boolean isFailure() {
            return false;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. internal/http/server.go

    	return srv
    }
    
    // NewServer - creates new HTTP server using given arguments.
    func NewServer(addrs []string) *Server {
    	httpServer := &Server{
    		Addrs: addrs,
    	}
    	// This is not configurable for now.
    	httpServer.MaxHeaderBytes = DefaultMaxHeaderBytes
    	return httpServer
    }
    
    // SetMinIOVersion -- MinIO version from the main package is set here
    func SetMinIOVersion(version string) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 09 21:25:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top