- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ActionSupport (0.21 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
static class ServiceUnavailableAction extends ActionSupport { ServiceUnavailableAction(String displayName) { super(displayName) } @Override void handle(HttpServletRequest request, HttpServletResponse response) { response.sendError(503, "service unavailable") } } class SendFileAction extends ActionSupport { private final String path
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy
destFile.bytes == content writer.writeCount == 1 } def "sends X-Gradle-Version and Content-Type headers on GET"() { server.expect("/cache/${key.hashCode}", ["GET"], new HttpServer.ActionSupport("get has appropriate headers") { void handle(HttpServletRequest request, HttpServletResponse response) { request.getHeader("X-Gradle-Version") == "3.0"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:24 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/KeyServer.groovy
private final Map<String, File> keyFiles = [:] KeyServer(TestFile baseDirectory) { this.baseDirectory = baseDirectory allow("/pks/lookup", false, ["GET"], new HttpServer.ActionSupport("Get key") { @Override void handle(HttpServletRequest request, HttpServletResponse response) { if (request.queryString.startsWith("op=get&options=mr&search=0x")) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsServer.groovy
} expect(httpStub) } private expect(HttpStub httpStub) { add(httpStub, stubAction(httpStub)) } private static HttpServer.ActionSupport stubAction(HttpStub httpStub) { new HttpServer.ActionSupport("Generic stub handler") { void handle(HttpServletRequest request, HttpServletResponse response) { if (httpStub.request.body) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 16.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpPluginRepository.groovy
def pluginMarker = module(pluginId, pluginId + PLUGIN_MARKER_SUFFIX, pluginVersion) server.expect(pluginMarker.pomPath, ["GET"], new HttpServer.ActionSupport("plugin marker pom") { void handle(HttpServletRequest request, HttpServletResponse response) { ConfigureUtil.configure(markerQueryConfigurer, response) } }) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/CookieHeaderTest.groovy
'Max-Age=31536000; Expires=Sun, 24-Jun-18 16:26:36 GMT-08:00;', ] } } class RespondWithCookieAction extends HttpServer.ActionSupport { private final String cookie private final String attributes RespondWithCookieAction(String cookie, String attributes) { super("Return cookie header ${cookie}") this.cookie = cookie
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.groovy
} expect(httpStub) } private expect(HttpStub httpStub) { add(httpStub, stubAction(httpStub)) } private HttpServer.ActionSupport stubAction(HttpStub httpStub) { new HttpServer.ActionSupport("Generic stub handler") { void handle(HttpServletRequest request, HttpServletResponse response) { if (httpStub.request.body) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 22.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenHttpRepoResolveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.6K bytes - Viewed (0)