- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 67 for ResponseData (0.1 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
ftpClient.setInitParameterMap(params); final ResponseData responseData = ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/text1.txt"); assertEquals(200, responseData.getHttpStatusCode()); assertEquals("UTF-8", responseData.getCharSet()); assertTrue(6 == responseData.getContentLength()); assertNotNull(responseData.getLastModified());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java
} @Override protected Extractor getExtractor(final ResponseData responseData) { final ExtractorFactory extractorFactory = ComponentUtil.getExtractorFactory(); if (extractorFactory == null) { throw new FessSystemException("Could not find extractorFactory."); } final Extractor extractor = extractorFactory.getExtractor(responseData.getMimeType()); if (logger.isDebugEnabled()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
final byte[] data = new String(content).getBytes(); final ResponseData responseData = new ResponseData(); responseData.setUrl("http://hoge/test.html"); responseData.setResponseBody(data); responseData.setCharSet("ISO-8859-1"); responseData.setMimeType("text/html"); final ResultData resultData = htmlTransformer.transform(responseData); assertEquals(content, new String(resultData.getData()));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
try (final ResponseData responseData = client.execute(RequestDataBuilder.newRequestData().get().url(u).build())) { if (StringUtil.isNotBlank(responseData.getRedirectLocation())) { u = responseData.getRedirectLocation(); continue; } if (StringUtil.isBlank(responseData.getUrl())) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
try (final ResponseData responseData = client.execute(RequestDataBuilder.newRequestData().get().url(url).build())) { if (responseData.getRedirectLocation() != null) { return responseData.getRedirectLocation(); } responseData.setExecutionTime(systemHelper.getCurrentTimeAsLong() - startTime);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
} } responseData.setUrl(url); responseData.setCharSet(contentEncoding); if (httpRequest instanceof HttpHead) { responseData.setMethod(Constants.HEAD_METHOD); } else { responseData.setMethod(Constants.GET_METHOD); } responseData.setHttpStatusCode(httpStatusCode);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:29:26 UTC 2024 - 41K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java
} public void test_transform() { final byte[] data = new String("xyz").getBytes(); final ResponseData responseData = new ResponseData(); responseData.setResponseBody(data); final ResultData resultData = binaryTransformer.transform(responseData); assertEquals("xyz", new String(resultData.getData())); } public void test_transform_null() { try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/Transformer.java
import org.codelibs.fess.crawler.entity.AccessResultData; import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.entity.ResultData; /** * @author shinsuke * */ public interface Transformer { ResultData transform(ResponseData responseData); Object getData(AccessResultData<?> accessResultData); String getName();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
import org.codelibs.core.io.FileUtil; import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.exception.CrawlingAccessException; /** * @author shinsuke * */ public final class ResponseDataUtil { private ResponseDataUtil() { } public static File createResponseBodyFile(final ResponseData responseData) { File tempFile = null; FileOutputStream fos = null;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
targetFile = file; } return targetFile; } @Override public void storeData(final ResponseData responseData, final ResultData resultData) { resultData.setTransformerName(getName()); initBaseDir(); final String url = responseData.getUrl(); final String path = getFilePath(url); synchronized (this) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.8K bytes - Viewed (0)