- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for contentType (1.86 sec)
-
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
return new JakartaServletDiskFileUpload(fileItemFactory) { @Override public byte[] getBoundary(final String contentType) { // for security final byte[] boundary = super.getBoundary(contentType); checkBoundarySize(contentType, boundary); return boundary; } }; }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
} @Override public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) { try { final PutObjectRequest request = PutObjectRequest.builder().bucket(bucket).key(objectName).contentType(contentType).contentLength(size).build(); s3Client.putObject(request, RequestBody.fromInputStream(inputStream, size));Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
if (StringUtil.isNotEmpty(resourceName)) { metadata.set(ExtractData.RESOURCE_NAME_KEY, resourceName); } if (StringUtil.isNotBlank(contentType)) { metadata.set(ExtractData.CONTENT_TYPE, contentType); } if (StringUtil.isNotBlank(contentEncoding)) { metadata.set(ExtractData.CONTENT_ENCODING, contentEncoding); } if (pdfPassword != null) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 30.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
response.setHeaders(headers); String contentType = response.getHeaderValue("Content-Type"); String contentLength = response.getHeaderValue("content-length"); // Test case insensitive String missing = response.getHeaderValue("Missing-Header"); assertEquals("application/json", contentType); assertEquals("100", contentLength); assertNull(missing); }
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
final CurlRequest curlRequest = ComponentUtil.getCurlHelper().request(httpMethod, path); final String contentType = request.getHeader("Content-Type"); if (StringUtil.isNotEmpty(contentType)) { curlRequest.header("Content-Type", contentType); } request.getParameterMap().entrySet().stream().forEach(entry -> { if (entry.getValue().length > 1) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 12.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
public String getMimeType() { return mimeType; } /** * Sets the MIME type of the response. * * @param contentType the MIME type to set */ public void setMimeType(final String contentType) { mimeType = contentType; } /** * Gets the URL of the crawled resource. * * @return the URL */ public String getUrl() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url); // Should return null when auto-connect fails due to missing project ID String contentType = conn.getContentType(); assertNull(contentType); } /** * Test that getLastModified() attempts to connect if not connected. */ public void test_getLastModified_autoConnect() throws Exception {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
} @Override public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) { try { final BlobId blobId = BlobId.of(bucket, objectName); final BlobInfo blobInfo = BlobInfo.newBuilder(blobId).setContentType(contentType).build(); storage.createFrom(blobInfo, inputStream); } catch (final Exception e) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.3K bytes - Viewed (0)