Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestHttpHeaderValue (0.3 sec)

  1. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHttpHeaderCredentialsTest.groovy

            when:
            HttpClientHttpHeaderCredentials httpHeaderCredentials = new HttpClientHttpHeaderCredentials("TestHttpHeaderName", "TestHttpHeaderValue")
    
            then:
            httpHeaderCredentials.header.name == "TestHttpHeaderName"
            httpHeaderCredentials.header.value == "TestHttpHeaderValue"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpHeaderAuthSchemeTest.groovy

            def credentials = new HttpClientHttpHeaderCredentials("TestHttpHeaderName", "TestHttpHeaderValue")
    
            when:
            def header = headerAuthScheme.authenticate(credentials, null, null)
    
            then:
            header.name == "TestHttpHeaderName"
            header.value == "TestHttpHeaderValue"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientConfigurerTest.groovy

            def httpHeaderCredentials = new DefaultHttpHeaderCredentials()
            httpHeaderCredentials.setName("TestHttpHeaderName")
            httpHeaderCredentials.setValue("TestHttpHeaderValue")
            AllSchemesAuthentication httpHeaderAuthentication = new AllSchemesAuthentication(httpHeaderCredentials)
            httpHeaderAuthentication.addHost(REMOTE_HOST, SOME_PORT)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpAuthenticationDependencyResolutionIntegrationTest.groovy

    repositories {
        maven {
            url "${mavenHttpRepo.uri}"
            credentials(org.gradle.api.credentials.HttpHeaderCredentials) {
                name = "TestHttpHeaderName"
                value = "TestHttpHeaderValue"
            }
            authentication { header(HttpHeaderAuthentication) }
        }
    }
    configurations { compile }
    dependencies {
        compile 'group:projectA:1.2'
    }
    task listJars {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.7K bytes
    - Viewed (0)
Back to top