Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for getHttpStatusCode (0.23 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        private byte[] responseBodyBytes;
    
        private File responseBodyFile;
    
        private boolean isTemporaryFile;
    
        private boolean noFollow = false;
    
        public int getHttpStatusCode() {
            return httpStatusCode;
        }
    
        public void setHttpStatusCode(final int statusCode) {
            httpStatusCode = statusCode;
        }
    
        public boolean hasResponseBody() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

                try (CurlResponse response =
                        ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", path).body(source).execute()) {
                    if (response.getHttpStatusCode() == 200) {
                        logger.info("Register {} to {}", path, indexName);
                        return true;
                    }
                    logger.warn("Invalid request for {}", path);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K 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/es/client/SearchEngineClient.java

                    .param("wait_for_completion", Boolean.toString(waitForCompletion)).body(source).execute()) {
                if (response.getHttpStatusCode() == 200) {
                    return true;
                }
                logger.warn("Failed to reindex from {} to {}", fromIndex, toIndex);
            } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  9. 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