Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for maxCachedContentSize (0.12 sec)

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

        protected ResponseData doPost(final String url) {
            throw new CrawlerSystemException("POST method is not supported.");
        }
    
        public void setMaxCachedContentSize(final long maxCachedContentSize) {
            this.maxCachedContentSize = maxCachedContentSize;
        }
    
        public void setAccessTimeout(final Integer accessTimeout) {
            this.accessTimeout = accessTimeout;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                            }
                        }
    
                        if (includeContent) {
                            if (file.length() < maxCachedContentSize) {
                                try (InputStream contentStream = new BufferedInputStream(new FileInputStream(file))) {
                                    responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                            if (logger.isDebugEnabled()) {
                                logger.debug("Parsing SmbFile Content: {}", filePath);
                            }
                            if (file.getContentLengthLong() < maxCachedContentSize) {
                                try (InputStream contentStream = new BufferedInputStream(new SmbFileInputStream(file))) {
                                    responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                    if (objectTags != null) {
                        objectTags.get().entrySet().forEach(e -> responseData.addMetaData(e.getKey(), e.getValue()));
                    }
                    if (statObject.size() < maxCachedContentSize) {
                        final GetObjectArgs args = GetObjectArgs.builder().bucket(bucketName).object(path).build();
                        try (InputStream contentStream = new BufferedInputStream(minioClient.getObject(args))) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                            if (logger.isDebugEnabled()) {
                                logger.debug("Parsing SmbFile Content: {}", filePath);
                            }
                            if (file.getContentLength() < maxCachedContentSize) {
                                try (InputStream contentStream = new BufferedInputStream(new SmbFileInputStream(file))) {
                                    responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                            }
                        }
    
                        responseData.setCharSet(geCharSet(tempFile));
    
                        if (tempFile.length() < maxCachedContentSize) {
                            try (InputStream contentStream = new BufferedInputStream(new FileInputStream(tempFile))) {
                                responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    }
                } else {
                    final InputStream responseBodyStream = httpEntity.getContent();
                    try (final DeferredFileOutputStream dfos = new DeferredFileOutputStream((int) maxCachedContentSize, "crawler-HcHttpClient-",
                            ".out", SystemUtils.getJavaIoTmpDir())) {
                        CopyUtil.copy(responseBodyStream, dfos);
                        dfos.flush();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top