- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for supportsHash (0.25 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpArtifact.groovy
expectPut(credentials) if (server.supportsHash(HttpServer.SupportedHash.SHA1)) { sha1.expectPut(credentials) } if (extraChecksums) { if (server.supportsHash(HttpServer.SupportedHash.SHA256)) { sha256.expectPut(credentials) } if (server.supportsHash(HttpServer.SupportedHash.SHA512)) { sha512.expectPut(credentials)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
boolean sendLastModified = true boolean sendSha1Header = false // by default, all hashes are supported Set<SupportedHash> supportedHashes = EnumSet.allOf(SupportedHash) boolean supportsHash(SupportedHash toCheck) { return supportedHashes.contains(toCheck) } void beforeHandle(org.gradle.api.Action<HttpServletRequest> r) { beforeHandle = r }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0)