Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for configureProxy (0.51 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SocksProxyServer.groovy

     *
     * When used as a rule, the proxy is stopped automatically at the end of the test,
     * but it is _not_ automatically started.
     *
     * To use the proxy with a build, you must call configureProxy(GradleExecuter) before
     * starting the proxy.
     *
     * Use {@link #start(SocksServer)} to start the proxy with an alternate implementation of {@link SocksServer} (for instance,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TestProxyServer.groovy

                return "HTTP proxy: $port"
            }
            return "HTTP proxy (not started)"
        }
    
        void stop() {
            proxyServer?.stop()
            portFinder.releasePort(port)
        }
    
        void configureProxy(GradleExecuter executer, String proxyScheme, String userName = null, String password = null) {
            configureProxyHost(executer, proxyScheme)
    
            if (userName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top