Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for contentType (3.1 sec)

  1. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("text/html", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream_gif() throws Exception {
            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/ccc.gif";
            final String contentType = MimeTypeUtil.guessContentType(path);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/api/BaseApiManager.java

         * @param text The text content to write.
         * @param contentType The content type for the response.
         * @param encoding The character encoding for the response.
         */
        protected void write(final String text, final String contentType, final String encoding) {
            final StringBuilder buf = new StringBuilder(50);
            if (contentType == null) {
                buf.append("text/plain");
            } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                }
    
                String contentType = null;
                final Header contentTypeHeader = response.getFirstHeader("Content-Type");
                if (contentTypeHeader != null) {
                    contentType = contentTypeHeader.getValue();
                    final int idx = contentType.indexOf(';');
                    if (idx > 0) {
                        contentType = contentType.substring(0, idx);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/orig/view/searchNoResult.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <%-- query did not match any document --%>
    <div id="result" class="row">
    	<div class="col-md-8 alert alert-info">
    		<la:message key="labels.did_not_match" arg0="${displayQuery}" />
    	</div>
    	<div class="col-md-4"><%-- Side Content --%></div>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 318 bytes
    - Viewed (0)
  6. 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 download
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/webapp/WEB-INF/orig/view/footer.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <footer role="contentinfo">
    	<div class="container text-center">
    		<p class="text-muted">
    			<la:message key="labels.footer.copyright" />
    		</p>
    	</div>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 233 bytes
    - Viewed (0)
Back to top