| java.lang.Object com.liferay.util.servlet.ServletResponseUtil
ServletResponseUtil | public class ServletResponseUtil (Code) | | View Source
author: Brian Wing Shun Chan |
Method Summary | |
public static void | cleanUp(InputStream is) | public static void | cleanUp(OutputStream os) | public static void | cleanUp(OutputStream os, InputStream is) | public static void | sendFile(HttpServletResponse res, String fileName, byte[] byteArray) | public static void | sendFile(HttpServletResponse res, String fileName, byte[] byteArray, String contentType) | public static void | sendFile(HttpServletResponse res, String fileName, InputStream is) | public static void | sendFile(HttpServletResponse res, String fileName, InputStream is, String contentType) | protected static void | setHeaders(HttpServletResponse res, String fileName, String contentType) | public static void | write(HttpServletResponse res, String s) | public static void | write(HttpServletResponse res, byte[] byteArray) | public static void | write(HttpServletResponse res, byte[] byteArray, int contentLength) | public static void | write(HttpServletResponse res, InputStream is) |
DEFAULT_CONTENT_TYPE | final public static String DEFAULT_CONTENT_TYPE(Code) | | |
|
|