Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SetContentType (0.05 sec)

  1. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    response.setContentType("text/html;charset=utf-8");
                } else if (lowerPath.endsWith(".css")) {
                    response.setContentType("text/css");
                } else if (lowerPath.endsWith(".eot")) {
                    response.setContentType("application/vnd.ms-fontobject");
                } else if (lowerPath.endsWith(".ico")) {
                    response.setContentType("image/vnd.microsoft.icon");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

            storage.create(BlobInfo.newBuilder(BlobId.of(bucketName, "file1.txt"))//
                    .setContentType("application/octet-stream")//
                    .setMetadata(Map.of("label", "label1"))//
                    .build(), "file1".getBytes());
    
            storage.create(BlobInfo.newBuilder(BlobId.of(bucketName, "dir1/file2.txt"))//
                    .setContentType("application/octet-stream")//
                    .setMetadata(Map.of("label", "label2"))//
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            this.encoding = encoding;
        }
    
        /**
         * Sets the content type.
         *
         * @param contentType the content type
         */
        public void setContentType(final String contentType) {
            this.contentType = contentType;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

            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) {
                throw new StorageException("Failed to upload " + objectName, 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)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_JSON);
            final JsonRequestParams params = new JsonRequestParams(request, fessConfig);
            try {
                response.setContentType("application/x-ndjson; charset=UTF-8");
                final long count = searchHelper.scrollSearch(params, doc -> {
                    buf.setLength(0);
                    buf.append('{');
                    boolean first2 = true;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 55.4K bytes
    - Viewed (1)
Back to top