- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 67 for ResponseData (0.1 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
ResponseData responseData = null; try { // head method responseData = client.execute(RequestDataBuilder.newRequestData().head().url(urlQueue.getUrl()).build()); if (responseData != null && responseData.getLastModified() != null && responseData.getLastModified().getTime() <= urlQueue.getLastModified().longValue()
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessStandardTransformer.java
} @Override protected Extractor getExtractor(final ResponseData responseData) { final ExtractorFactory extractorFactory = ComponentUtil.getExtractorFactory(); if (extractorFactory == null) { throw new FessSystemException("Could not find extractorFactory."); } Extractor extractor = extractorFactory.getExtractor(responseData.getMimeType()); if (extractor == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
final Document document) { // canonical final String canonicalUrl = getCanonicalUrl(responseData, document); if (canonicalUrl != null && !canonicalUrl.equalsIgnoreCase(responseData.getUrl()) && isValidUrl(canonicalUrl) && isValidCanonicalUrl(responseData.getUrl(), canonicalUrl)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 42.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
* @see org.codelibs.fess.crawler.rule.impl.AbstractRule#match(org.codelibs.fess.crawler.entity.ResponseData) */ @Override public boolean match(final ResponseData responseData) { if (defaultRule) { return true; } final Map<String, Object> map = new HashMap<>(); BeanUtil.copyBeanToMap(responseData, map, CopyOptions::excludeWhitespace);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 3.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
+ "</doc>"; final ResponseData responseData = new ResponseData(); responseData.setResponseBody(ResourceUtil.getResourceAsFile("extractor/test.xml"), false); responseData.setCharSet(Constants.UTF_8); final ResultData resultData = xmlTransformer.transform(responseData); assertEquals(result, new String(resultData.getData(), Constants.UTF_8)); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
} } } protected ResponseData getResponseData(final String uri, final boolean includeContent) { final ResponseData responseData = new ResponseData(); FTPClient client = null; try { responseData.setMethod(Constants.GET_METHOD); final FtpInfo ftpInfo = new FtpInfo(uri); responseData.setUrl(ftpInfo.toUrl());
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/transformer/impl/FileTransformerTest.java
final byte[] data = new String("xyz").getBytes(); final ResponseData responseData = new ResponseData(); responseData.setUrl("http://www.example.com/submit?a=1&b=2"); responseData.setResponseBody(data); responseData.setCharSet("UTF-8"); setBaseDir(); final ResultData resultData = fileTransformer.transform(responseData);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
public List<String> getSmbRoleTypeList(final ResponseData responseData) { final List<String> roleTypeList = new ArrayList<>(); final FessConfig fessConfig = ComponentUtil.getFessConfig(); if (fessConfig.isSmbRoleFromFile()) { final SambaHelper sambaHelper = ComponentUtil.getSambaHelper(); final Map<String, Object> metaDataMap = responseData.getMetaDataMap();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
if (responseData == null) { // head method responseData = client.execute(RequestDataBuilder.newRequestData().head().url(url).build()); if (responseData == null) { return true; } } final int httpStatusCode = responseData.getHttpStatusCode();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
Map<String, Object> dataMap = new HashMap<>(); assertEquals("", documentHelper.getContent(null, responseData, null, dataMap)); assertEquals("", documentHelper.getContent(null, responseData, "", dataMap)); assertEquals("", documentHelper.getContent(null, responseData, " ", dataMap)); assertEquals("", documentHelper.getContent(null, responseData, " ", dataMap));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11K bytes - Viewed (0)