Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for doGet (0.11 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

        }
    
        private static boolean doGet(Properties userProperties, String key, boolean def) {
            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Map<String, ?> userProperties, String key, boolean def) {
            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Object val, boolean def) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 13:04:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            try (final ResponseData responseData = storageClient.doGet("storage://fess/none")) {
                fail();
            } catch (ChildUrlsException e) {
                String[] values = e.getChildUrlList().stream().map(d -> d.getUrl()).sorted().toArray(n -> new String[n]);
                assertEquals(0, values.length);
            }
            try (final ResponseData responseData = storageClient.doGet("")) {
                fail();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

         *
         * <p>The returned {@link BuildableExpectedRequest} can be used to modify the behaviour or expectations.
         */
        public BuildableExpectedRequest get(String path) {
            return doGet(path);
        }
    
        private ExpectMethod doGet(String path) {
            return new ExpectMethod("GET", normalizePath(path), timeout, lock);
        }
    
        /**
         * Expect a PUT request to the given path, discard the request body
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            String path = file.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            try {
                fsClient.doGet("file://" + path);
                fail();
            } catch (final ChildUrlsException e) {
                final Set<RequestData> urlSet = e.getChildUrlList();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

            initParamMap = params;
        }
    
        @Override
        public ResponseData execute(final RequestData request) {
            return switch (request.getMethod()) {
            case GET -> doGet(request.getUrl());
            case HEAD -> doHead(request.getUrl());
            case POST -> doPost(request.getUrl());
            default -> throw new CrawlerSystemException(request.getMethod() + " method is not supported.");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            final CrawlerWebServer server = new CrawlerWebServer(7070);
            server.start();
    
            final String url = "http://localhost:7070/";
            try {
                final ResponseData responseData = httpClient.doGet(url);
                assertEquals(200, responseData.getHttpStatusCode());
            } finally {
                server.stop();
            }
        }
    
        public void test_parseLastModified() {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                auth.setPassword(password);
                params.put(FtpClient.FTP_AUTHENTICATIONS_PROPERTY, new FtpAuthentication[] { auth });
                ftpClient.setInitParameterMap(params);
    
                ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/");
                fail();
            } catch (final ChildUrlsException e) {
                final Set<RequestData> urlSet = e.getChildUrlList();
                assertEquals(5, urlSet.size());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
                client.doGet("smb1://localhost/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

        protected AtomicBoolean isInit = new AtomicBoolean(false);
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.client.CrawlerClient#doGet(java.lang.String)
         */
        @Override
        public ResponseData doGet(final String uri) {
            return processRequest(uri, true);
        }
    
        protected ResponseData processRequest(final String uri, final boolean includeContent) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
                client.doGet("smb://localhost/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top