Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setHttpStatusCode (0.19 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                                    responseData.setHttpStatusCode(Constants.SERVER_ERROR_STATUS_CODE);
                                }
                            } else {
                                responseData.setResponseBody(file, false);
                            }
                        }
                    } else {
                        // Forbidden
                        responseData.setHttpStatusCode(Constants.FORBIDDEN_STATUS_CODE);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Processing SmbFile: {}", filePath);
            }
    
            try {
                if (file == null) {
                    responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                    responseData.setCharSet(charset);
                    responseData.setContentLength(0);
                } else if (file.isFile()) {
                    if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Processing SmbFile: {}", filePath);
            }
    
            try {
                if (file == null) {
                    responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                    responseData.setCharSet(charset);
                    responseData.setContentLength(0);
                } else if (file.isFile()) {
                    if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                final FTPClient client, final FtpInfo ftpInfo, final FTPFile file) {
            if (file == null) {
                responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                responseData.setCharSet(charset);
                responseData.setContentLength(0);
                ftpClientQueue.offer(client);
                return;
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                }
                // check file size
                responseData.setContentLength(statObject.size());
                checkMaxContentLength(responseData);
    
                responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                responseData.setCharSet(getCharset());
                responseData.setLastModified(statObject.lastModified() == null ? null : Date.from(statObject.lastModified().toInstant()));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

            }
    
            @Override
            public void accept(final HttpURLConnection con) {
                try {
                    response.setEncoding(encoding);
                    response.setHttpStatusCode(con.getResponseCode());
                    response.setHeaders(con.getHeaderFields());
                } catch (final Exception e) {
                    throw new CurlException("Failed to access the response.", e);
                }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                        responseData.setSessionId(crawlerContext.sessionId);
                        responseData.setStatus(Constants.NOT_MODIFIED_STATUS);
                        responseData.setHttpStatusCode(Constants.NOT_MODIFIED_STATUS_CODE);
                        processResponse(urlQueue, responseData);
    
                        return false;
                    }
                } finally {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        responseData.setParentUrl(urlQueue.getParentUrl());
                        responseData.setSessionId(crawlerContext.getSessionId());
                        responseData.setHttpStatusCode(org.codelibs.fess.crawler.Constants.NOT_MODIFIED_STATUS);
                        processResponse(urlQueue, responseData);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    responseData.setMethod(Constants.HEAD_METHOD);
                } else {
                    responseData.setMethod(Constants.GET_METHOD);
                }
                responseData.setHttpStatusCode(httpStatusCode);
                for (final Header header : response.getAllHeaders()) {
                    responseData.addMetaData(header.getName(), header.getValue());
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                responseData.setCharSet("UTF-8");
                responseData.setContentLength(data.length());
                responseData.setExecutionTime(1000L);
                responseData.setHttpStatusCode(200);
                responseData.setLastModified(new Date());
                responseData.setMethod("GET");
                responseData.setMimeType("text/html");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top