Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for allowGetDirectoryListing (0.35 sec)

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

            this.server = server
        }
    
        @Override
        public void expectGet() {
            server.expectGetDirectoryListing(path, directory)
        }
    
        public void allowGet() {
            server.allowGetDirectoryListing(path, directory)
        }
    
        @Override
        public void expectGetMissing() {
            server.expectGetMissing(path)
        }
    
        @Override
        public void expectGetBroken() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

                }
            }
        }
    
        /**
         * Allows GET requests for the given URL, returning an apache-compatible directory listing with the given File names.
         */
        void allowGetDirectoryListing(String path, File directory) {
            allow(path, false, ['GET'], new ActionSupport("return listing of directory $directory.name") {
                void handle(HttpServletRequest request, HttpServletResponse response) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top