Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for contentLengthHelper (0.65 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

                }
    
                if (maxContentLength < 0) {
                    final ContentLengthHelper contentLengthHelper = crawlerContainer.getComponent("contentLengthHelper");
                    maxContentLength = contentLengthHelper.getMaxLength(mimeType);
                }
                final long contentLength = getContentLength(out);
                if (contentLength > maxContentLength) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

        /** Character encoding for files */
        protected String charset = Constants.UTF_8;
    
        /** Helper for managing content length limits */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /** Flag to track initialization status */
        protected AtomicBoolean isInit = new AtomicBoolean(false);
    
        /**
         * Constructs a new FileSystemClient.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

        /** Flag indicating whether to resolve SIDs to names. */
        protected boolean resolveSids = true;
    
        /** Helper for content length operations. */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /**
         * The SMB authentication holder.
         */
        protected volatile SmbAuthenticationHolder smbAuthenticationHolder;
    
        /**
         * The CIFS context.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

        protected String charset = Constants.UTF_8;
    
        /** Whether to resolve SIDs. */
        protected boolean resolveSids = true;
    
        /** The content length helper. */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /** The SMB authentication holder. */
        protected volatile SmbAuthenticationHolder smbAuthenticationHolder;
    
        /**
         * Creates a new SmbClient instance.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

         */
        protected String charset = Constants.UTF_8;
    
        /**
         * Helper for managing content length validation and limits.
         */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /**
         * Flag indicating whether the client has been initialized.
         */
        protected volatile boolean isInit = false;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

         */
        protected String charset = Constants.UTF_8;
    
        /**
         * Helper for managing content length validation and limits.
         */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /**
         * Flag indicating whether the client has been initialized.
         */
        protected volatile boolean isInit = false;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

         */
        protected String charset = Constants.UTF_8;
    
        /**
         * Helper for managing content length validation and limits.
         */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /**
         * Flag indicating whether the client has been initialized.
         */
        protected volatile boolean isInit = false;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20K bytes
    - Viewed (2)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

            assertEquals(404, responseData.getHttpStatusCode());
        }
    
        public void test_maxContentLengthExceeded() throws Exception {
            ContentLengthHelper helper = new ContentLengthHelper();
            helper.setDefaultMaxLength(3L);
            smbClient.contentLengthHelper = helper;
    
            try {
                smbClient.doGet(baseUrl + "file1.txt");
                fail("Should throw MaxLengthExceededException");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        }
    
        /** Character encoding for FTP operations */
        protected String charset = Constants.UTF_8;
    
        /** Helper for managing content length limits */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /**
         * The FTP authentication holder.
         */
        protected volatile FtpAuthenticationHolder ftpAuthenticationHolder;
    
        /**
         * The FTP client configuration.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            assertEquals(404, responseData.getHttpStatusCode());
        }
    
        public void test_maxContentLengthExceeded() throws Exception {
            ContentLengthHelper helper = new ContentLengthHelper();
            helper.setDefaultMaxLength(3L);
            smbClient.contentLengthHelper = helper;
    
            try {
                smbClient.doGet(baseUrl + "file1.txt");
                fail("Should throw MaxLengthExceededException");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
Back to top