- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for setMimeType (0.13 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
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())); assertEquals(1, resultData.getChildUrlSet().size());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
public void setContentLength(final long contentLength) { this.contentLength = contentLength; } public String getMimeType() { return mimeType; } public void setMimeType(final String contentType) { mimeType = contentType; } public String getUrl() { return url; } public void setUrl(final String url) { this.url = url;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 5.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
target.setParentUrl(getFieldValue(fields.get("parentUrl"), String.class)); target.setMethod(getFieldValue(fields.get("method"), String.class)); target.setMimeType(getFieldValue(fields.get("mimeType"), String.class)); target.setSessionId(getFieldValue(fields.get("sessionId"), String.class)); target.setUrl(getFieldValue(fields.get("url"), String.class));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 8.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
try (InputStream is = new FileInputStream(tempFile)) { responseData.setMimeType(mimeTypeHelper.getContentType(is, file.getName())); } catch (final Exception e) { responseData.setMimeType(mimeTypeHelper.getContentType(null, file.getName())); } if (contentLengthHelper != 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) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
for (final Header header : response.getAllHeaders()) { responseData.addMetaData(header.getName(), header.getValue()); } responseData.setMimeType(contentType); final Header contentLengthHeader = response.getFirstHeader("Content-Length"); if (contentLengthHeader == null) { responseData.setContentLength(contentLength);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:29:26 UTC 2024 - 41K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
responseData.setExecutionTime(1000L); responseData.setHttpStatusCode(200); responseData.setLastModified(new Date()); responseData.setMethod("GET"); responseData.setMimeType("text/html"); responseData.setParentUrl("http://fess.codelibs.org/"); responseData.setResponseBody(data.getBytes()); responseData.setSessionId("test-1");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0)