- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ContentLengthHelper (0.15 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java
import java.util.HashMap; import java.util.Map; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.crawler.exception.CrawlerSystemException; /** * @author shinsuke * */ public class ContentLengthHelper { protected long defaultMaxLength = 10L * 1024L * 1024L;// 10M protected Map<String, Long> maxLengthMap = new HashMap<>(); public void addMaxLength(final String mimeType, final long maxLength) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java
public ContentLengthHelper contentLengthHelper; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("contentLengthHelper", ContentLengthHelper.class); contentLengthHelper = container.getComponent("contentLengthHelper"); } public void test_getMaxLength() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2K bytes - Viewed (0) -
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: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
public static final String FS_FILE_GROUPS = "fsFileGroups"; protected String charset = Constants.UTF_8; @Resource protected ContentLengthHelper contentLengthHelper; protected AtomicBoolean isInit = new AtomicBoolean(false); /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.client.CrawlerClient#doGet(java.lang.String) */
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
public static final String SMB_OWNER_ATTRIBUTES = "smbOwnerAttributes"; protected String charset = Constants.UTF_8; protected boolean resolveSids = true; @Resource protected ContentLengthHelper contentLengthHelper; protected volatile SmbAuthenticationHolder smbAuthenticationHolder; protected CIFSContext cifsContext; @Override public synchronized void init() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 23 01:54:36 UTC 2024 - 17.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
public static final String FTP_AUTHENTICATIONS_PROPERTY = "ftpAuthentications"; protected String charset = Constants.UTF_8; @Resource protected ContentLengthHelper contentLengthHelper; protected volatile FtpAuthenticationHolder ftpAuthenticationHolder; protected FTPClientConfig ftpClientConfig;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java
.singleton("lhaExtractor", LhaExtractor.class)// .singleton("mimeTypeHelper", MimeTypeHelperImpl.class)// .singleton("contentLengthHelper", ContentLengthHelper.class)// .singleton("extractorFactory", ExtractorFactory.class); extractorFactory = container.getComponent("extractorFactory");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Jun 18 05:49:13 UTC 2024 - 6.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
private static final Logger logger = LoggerFactory.getLogger(StorageClient.class); protected String charset = Constants.UTF_8; @Resource protected ContentLengthHelper contentLengthHelper; protected AtomicBoolean isInit = new AtomicBoolean(false); protected MinioClient minioClient; @Override public void init() { super.init();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
} } })); } protected String charset = Constants.UTF_8; protected boolean resolveSids = true; @Resource protected ContentLengthHelper contentLengthHelper; protected volatile SmbAuthenticationHolder smbAuthenticationHolder; @Override public synchronized void init() { if (smbAuthenticationHolder != null) { return;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
private static final Logger logger = LoggerFactory.getLogger(HcHttpClient.class); @Resource protected RobotsTxtHelper robotsTxtHelper; @Resource protected ContentLengthHelper contentLengthHelper; @Resource protected MimeTypeHelper mimeTypeHelper; protected volatile CloseableHttpClient httpClient; private final List<Header> requestHeaderList = new ArrayList<>();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:29:26 UTC 2024 - 41K bytes - Viewed (0)