- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setContentType (0.08 sec)
-
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: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Aug 15 08:29:24 UTC 2024 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/OsddHelper.java
this.osddPath = osddPath; } public void setEncoding(final String encoding) { this.encoding = encoding; } public void setContentType(final String contentType) { this.contentType = contentType; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.7K bytes - Viewed (0) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
} @Override public String getSsoType() { return "none"; } }); final OsddHelper osddHelper = new OsddHelper(); osddHelper.setContentType("application/opensearchdescription+xml"); osddHelper.init(); assertFalse(osddHelper.hasOpenSearchFile()); try { osddHelper.asStream(); fail();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
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: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0)