Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setContentType (0.09 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)
Back to top