Package org.pentaho.platform.web.servlet
Class HttpMimeTypeListener
- java.lang.Object
-
- org.pentaho.platform.web.servlet.HttpMimeTypeListener
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IMimeTypeListener
public class HttpMimeTypeListener extends Object implements org.pentaho.platform.api.engine.IMimeTypeListener
-
-
Constructor Summary
Constructors Constructor Description HttpMimeTypeListener(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
HttpMimeTypeListener(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String title)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
buildContentDispositionValue(String fileName, boolean isAttachment)
Uses RFC2231/5987 encoded UTF-8 to support internationalized file names on modern browsers.void
setMimeType(String mimeType)
void
setName(String name)
-
-
-
Constructor Detail
-
HttpMimeTypeListener
public HttpMimeTypeListener(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
HttpMimeTypeListener
public HttpMimeTypeListener(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String title)
-
-