- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ContentType (0.06 sec)
-
src/main/java/org/codelibs/fess/storage/StorageClient.java
* @param inputStream the input stream of data to upload * @param size the size of the data in bytes * @param contentType the MIME type of the content */ void uploadObject(String objectName, InputStream inputStream, long size, String contentType); /** * Downloads an object from storage. * * @param objectName the name/path of the object to downloadRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 2.8K bytes - Viewed (0) -
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/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/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) -
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) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
Handler.StorageURLConnection conn = (Handler.StorageURLConnection) handler.openConnection(url); // Should return null when auto-connect fails due to missing endpoint 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.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java
@Override public String getContentType() { try { if (!connected) { connect(); } return getHeadObject().contentType(); } catch (final IOException e) { return null; } } /** * Gets the date of the S3 object.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 9.5K bytes - Viewed (0) -
fastapi/openapi/models.py
class ParameterInType(Enum): query = "query" header = "header" path = "path" cookie = "cookie" class Encoding(BaseModelWithConfig): contentType: Optional[str] = None headers: Optional[dict[str, Union["Header", Reference]]] = None style: Optional[str] = None explode: Optional[bool] = None allowReserved: Optional[bool] = None
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
"Failed to log out.", new SsoProcessException(msg)); } return new StreamResponse("metadata").contentType("application/xhtml+xml").stream(out -> { try (final Writer writer = new OutputStreamWriter(out.stream(), Constants.UTF_8_CHARSET)) { writer.write(metadata); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Dec 14 01:18:25 UTC 2025 - 20.2K bytes - Viewed (3) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java
responseData.setCharSet(getCharset()); responseData.setLastModified(headObject.lastModified() == null ? null : Date.from(headObject.lastModified())); responseData.setMimeType(headObject.contentType()); // Add metadata if (headObject.metadata() != null) { headObject.metadata().forEach(responseData::addMetaData); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 21.4K bytes - Viewed (0)