Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setContentLength (0.19 sec)

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

                    responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                    responseData.setCharSet(charset);
                    responseData.setContentLength(0);
                } else if (file.isFile()) {
                    // check file size
                    responseData.setContentLength(file.length());
                    checkMaxContentLength(responseData);
    
                    parseFileOwnerAttribute(responseData, file);
    
    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

                    responseData.setCharSet(charset);
                    responseData.setContentLength(0);
                } else if (file.isFile()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Checking SmbFile Size: {}", filePath);
                    }
                    responseData.setContentLength(file.length());
                    checkMaxContentLength(responseData);
    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

                    responseData.setCharSet(charset);
                    responseData.setContentLength(0);
                } else if (file.isFile()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Checking SmbFile Size: {}", filePath);
                    }
                    responseData.setContentLength(file.length());
                    checkMaxContentLength(responseData);
    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

            if (file == null) {
                responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                responseData.setCharSet(charset);
                responseData.setContentLength(0);
                ftpClientQueue.offer(client);
                return;
            }
    
            if (file.isSymbolicLink()) {
                final String link = file.getLink();
                String redirect = null;
    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. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                                realm + "\"");
                    }
                    resp.setStatus( HttpServletResponse.SC_UNAUTHORIZED );
                    resp.setContentLength(0); /* Marcel Feb-15-2005 */
                    resp.flushBuffer();
                    return null;
                }
                req.getSession().setAttribute( "NtlmHttpAuth", ntlm );
            } else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpFilter.java

                        resp.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\"");
                    }
                    resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
                    resp.setContentLength(0); /* Marcel Feb-15-2005 */
                    resp.flushBuffer();
                    return null;
                }
                req.getSession().setAttribute("NtlmHttpAuth", ntlm);
            }
            else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    responseData.setContentLength(contentLength);
                } else {
                    final String value = contentLengthHeader.getValue();
                    try {
                        responseData.setContentLength(Long.parseLong(value));
                    } catch (final Exception e) {
                        responseData.setContentLength(contentLength);
                    }
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                    }
                    throw new ChildUrlsException(requestDataSet, this.getClass().getName() + "#getResponseData");
                }
                // check file size
                responseData.setContentLength(statObject.size());
                checkMaxContentLength(responseData);
    
                responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                responseData.setCharSet(getCharset());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                }
                ResponseData responseData = new ResponseData();
                responseData.setCharSet("UTF-8");
                responseData.setContentLength(data.length());
                responseData.setExecutionTime(1000L);
                responseData.setHttpStatusCode(200);
                responseData.setLastModified(new Date());
                responseData.setMethod("GET");
    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