Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getHttpStatusCode (0.38 sec)

  1. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        if (responseData == null) {
                            return true;
                        }
                    }
    
                    final int httpStatusCode = responseData.getHttpStatusCode();
                    if (logger.isDebugEnabled()) {
                        logger.debug("Accessing document: {}, status: {}", url, httpStatusCode);
                    }
                    if (httpStatusCode == 404) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                ftpClient.setInitParameterMap(params);
                final ResponseData responseData = ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/text1.txt");
                assertEquals(200, responseData.getHttpStatusCode());
                assertEquals("UTF-8", responseData.getCharSet());
                assertTrue(6 == responseData.getContentLength());
                assertNotNull(responseData.getLastModified());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                try (final CurlResponse response = createCurlRequest(url).execute()) {
                    if (response.getHttpStatusCode() != 200) {
                        throw new PluginException("HTTP Status " + response.getHttpStatusCode() + " : failed to get the artifact from " + url);
                    }
                    try (final InputStream in = response.getContentAsStream()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                accessResultList.add(accessResult);
    
                if (accessResult.getHttpStatusCode() != 200) {
                    // invalid page
                    if (logger.isDebugEnabled()) {
                        logger.debug("Skipped. The response code is {}.", accessResult.getHttpStatusCode());
                    }
                    continue;
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                            && responseData.getLastModified().getTime() <= urlQueue.getLastModified().longValue()
                            && responseData.getHttpStatusCode() == 200) {
                        log(logHelper, LogType.NOT_MODIFIED, crawlerContext, urlQueue);
    
                        responseData.setExecutionTime(SystemUtil.currentTimeMillis() - startTime);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

            final ResponseData responseData = (ResponseData) objs[2];
            if (logger.isDebugEnabled()) {
                logger.debug("Processing the response. Http Status: {}, Exec Time: {}", responseData.getHttpStatusCode(),
                        responseData.getExecutionTime());
            }
        }
    
        protected void processRedirectLocation(final Object... objs) {
            // CrawlerContext crawlerContext = (CrawlerContext) objs[0];
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                }
            }).execute()) {
    
                try (ServletOutputStream out = response.getOutputStream(); InputStream in = curlResponse.getContentAsStream()) {
                    response.setStatus(curlResponse.getHttpStatusCode());
                    writeHeaders(response);
                    final String responseContentType = curlResponse.getHeaderValue("Content-Type");
                    if (StringUtil.isBlank(responseContentType)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final ResponseData responseData = client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
            if (responseData.getHttpStatusCode() == 404) {
                response.httpStatus(responseData.getHttpStatusCode());
                CloseableUtil.closeQuietly(responseData);
                return response;
            }
            writeFileName(response, responseData);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top