- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 75 for setReaders (0.35 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt
val server = MockWebServer().apply { useHttps(handshakeCertificates.sslSocketFactory(), false) enqueue( MockResponse() .setResponseCode(HTTP_MOVED_TEMP) .setHeader("Location", "https://www.google.com/robots.txt"), ) } val clientCertificates = HandshakeCertificates.Builder() .addPlatformTrustedCertificates() .addInsecureHost(server.hostName)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
"0000a6d000603617069c012c0300005000100000cde000c04737461720463313072c012c04200010001000" + "0003b00049df00112", ) .newBuilder() .setHeader("cache-control", "private, max-age=298") .build(), ) } var result = cachedDns.lookup("google.com") assertThat(result).containsExactly(address("157.240.1.18"))
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 11K bytes - Viewed (0) -
platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioFiltersFile.groovy
return xml.ItemGroup.findAll({ it.'@Label' == 'Filters' })[0] } private Node getSources() { return xml.ItemGroup.find({ it.'@Label' == 'Sources' }) as Node } private Node getHeaders() { return xml.ItemGroup.find({ it.'@Label' == 'Headers' }) as Node } private String toPath(File it) { fileLocationResolver.transform(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/NtlmAuthenticator.groovy
new Random().nextBytes(connectionAuth.challenge) connections[HttpConnection.currentConnection] = connectionAuth } if (connectionAuth.failed) { httpResponse.setHeader(HttpHeader.WWW_AUTHENTICATE.asString(), "basic realm=\"" + _loginService.getName() + '"') httpResponse.sendError(HttpServletResponse.SC_UNAUTHORIZED) return Authentication.SEND_CONTINUE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperTest.groovy
return null } } when: def request = new HttpGet("http://gradle.org") client.performRequest(request, true) then: request.getHeaders("Cache-Control")[0].value == "max-age=0" } def "stripping user credentials removes username and password"() { given: def uri = new URI("https", "admin:password", "foo.example", 80, null, null, null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalCppElement.java
@Override public List<SourceFile> getAfterFiles() { List<SourceFile> result = new ArrayList<SourceFile>(); result.addAll(beforeElement.getHeaders().getFiles()); result.add(afterFile); return result; } }; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.8K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_test.go
g.Expect(len(routes)).To(Equal(1)) g.Expect(routes[0].GetMatch().GetHeaders()[0].GetName()).To(Equal("FOO-HEADER")) g.Expect(routes[0].GetMatch().GetHeaders()[0].GetPresentMatch()).To(Equal(true)) g.Expect(routes[0].GetMatch().GetHeaders()[0].GetInvertMatch()).To(Equal(false)) g.Expect(routes[0].GetMatch().GetHeaders()[0].GetTreatMissingHeaderAsEmpty()).To(Equal(false)) } })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/prebuilt/DefaultPrebuiltLibrary.java
public String toString() { return "prebuilt library '" + name + "'"; } @Override public String getName() { return name; } @Override public SourceDirectorySet getHeaders() { return headers; } @Override public DomainObjectSet<NativeLibraryBinary> getBinaries() { return binaries; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppLibraryElement.java
public abstract SourceElement getPublicHeaders(); public SourceElement getPrivateHeaders() { return empty(); } @Override public SourceElement getHeaders() { return ofElements(getPublicHeaders(), getPrivateHeaders()); } /** * Returns a copy of this library with the public headers the 'public' headers directory. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppSimpleUnitTest.groovy
if (42 == 42) { return 0; } return -1; }"""), ] List<SourceFile> headerFiles = [] @Override SourceElement getHeaders() { return ofElements(sum.headers) } @Override SourceElement getSources() { return ofElements(sum.sources, sumTest.sources) } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.4K bytes - Viewed (0)