Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setContentType (0.14 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

            String url;
            int n;
            try ( SmbFileInputStream in = new SmbFileInputStream(file) ) {
                url = file.getLocator().getPath();
                resp.setContentType("text/plain");
                resp.setContentType(URLConnection.guessContentTypeFromName(url));
                resp.setHeader("Content-Length", file.length() + "");
                resp.setHeader("Accept-Ranges", "Bytes");
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                url = file.getPath();
    
                resp.setContentType( "text/plain" );
    
                if(( n = url.lastIndexOf( '.' )) > 0 &&
                        ( type = url.substring( n + 1 )) != null &&
                        type.length() > 1 && type.length() < 6 ) {
                    resp.setContentType( mimeMap.getMimeType( type ));
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/postpolicyform_test.go

    			}
    		})
    	}
    }
    
    // Test Post Policy parsing and checking conditions
    func TestPostPolicyForm(t *testing.T) {
    	pp := minio.NewPostPolicy()
    	pp.SetBucket("testbucket")
    	pp.SetContentType("image/jpeg")
    	pp.SetUserMetadata("uuid", "14365123651274")
    	pp.SetKeyStartsWith("user/user1/filename")
    	pp.SetContentLengthRange(1048579, 10485760)
    	pp.SetSuccessStatusAction("201")
    
    	type testCase struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  8. 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)
Back to top