Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for setContentLength (0.11 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java

            responseData.setContentLength(-1);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000L);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000L);
            client.checkMaxContentLength(responseData);
    
            responseData.setContentLength(1000000000L);
            client.checkMaxContentLength(responseData);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

        AccessResultData<IDTYPE> getAccessResultData();
    
        void setAccessResultData(AccessResultData<IDTYPE> accessResultData);
    
        Long getContentLength();
    
        void setContentLength(Long contentLength);
    
        Long getLastModified();
    
        void setLastModified(Long lastModified);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            // delete all files
            runner.clean();
        }
    
        public void test_insert_deleteTx() {
            final OpenSearchAccessResult accessResult1 = new OpenSearchAccessResult();
            accessResult1.setContentLength(Long.valueOf(10));
            accessResult1.setCreateTime(System.currentTimeMillis());
            accessResult1.setExecutionTime(10);
            accessResult1.setHttpStatusCode(200);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. 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)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

            Resource resource = inputData.getResource();
    
            String content = expectedContent.get(resource.getName());
    
            if (content != null) {
                resource.setContentLength(content.length());
                resource.setLastModified(System.currentTimeMillis());
    
                inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)));
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        public void setCharSet(final String charSet) {
            this.charSet = charSet;
        }
    
        public long getContentLength() {
            return contentLength;
        }
    
        public void setContentLength(final long contentLength) {
            this.contentLength = contentLength;
        }
    
        public String getMimeType() {
            return mimeType;
        }
    
        public void setMimeType(final String contentType) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

            dataService = container.getComponent("dataService");
        }
    
        public void test_insert_deleteTx() {
            final AccessResult accessResult1 = new AccessResultImpl();
            accessResult1.setContentLength(Long.valueOf(10));
            accessResult1.setCreateTime(System.currentTimeMillis());
            accessResult1.setExecutionTime(10);
            accessResult1.setHttpStatusCode(200);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top