Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setContentType (0.12 sec)

  1. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            } else {
                enc = encoding;
            }
            buf.append(enc);
            final HttpServletResponse response = LaResponseUtil.getResponse();
            response.setContentType(buf.toString());
            writeHeaders(response);
            try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) {
                out.print(text);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * rule.setAllRequired(true); // Both URL and content type must match
     *
     * ResponseData responseData = new ResponseData();
     * responseData.setUrl("https://example.com/page1");
     * responseData.setContentType("text/html");
     *
     * boolean matches = rule.match(responseData); // Returns true
     * }
     * </pre>
     *
     */
    public class RegexRule extends AbstractRule {
    
        /** Serial version UID for serialization. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top