|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.kernel.portlet.PortletResponseUtil
public class PortletResponseUtil
Constructor Summary | |
---|---|
PortletResponseUtil()
|
Method Summary | |
---|---|
static void |
sendFile(MimeResponse mimeResponse,
String fileName,
byte[] bytes)
Deprecated. As of 6.1.0 |
static void |
sendFile(MimeResponse mimeResponse,
String fileName,
byte[] bytes,
String contentType)
Deprecated. As of 6.1.0 |
static void |
sendFile(MimeResponse mimeResponse,
String fileName,
InputStream inputStream)
Deprecated. As of 6.1.0 |
static void |
sendFile(MimeResponse mimeResponse,
String fileName,
InputStream inputStream,
int contentLength,
String contentType)
Deprecated. As of 6.1.0 |
static void |
sendFile(MimeResponse mimeResponse,
String fileName,
InputStream inputStream,
String contentType)
Deprecated. As of 6.1.0 |
static void |
sendFile(PortletRequest portletRequest,
MimeResponse mimeResponse,
String fileName,
byte[] bytes)
|
static void |
sendFile(PortletRequest portletRequest,
MimeResponse mimeResponse,
String fileName,
byte[] bytes,
String contentType)
|
static void |
sendFile(PortletRequest portletRequest,
MimeResponse mimeResponse,
String fileName,
byte[] bytes,
String contentType,
String contentDispositionType)
|
static void |
sendFile(PortletRequest portletRequest,
MimeResponse mimeResponse,
String fileName,
InputStream inputStream)
|
static void |
sendFile(PortletRequest portletRequest,
MimeResponse mimeResponse,
String fileName,
InputStream inputStream,
int contentLength,
String contentType)
|
static void |
sendFile(PortletRequest portletRequest,
MimeResponse mimeResponse,
String fileName,
InputStream inputStream,
int contentLength,
String contentType,
String contentDispositionType)
|
static void |
sendFile(PortletRequest portletRequest,
MimeResponse mimeResponse,
String fileName,
InputStream inputStream,
String contentType)
|
protected static void |
setContentLength(ResourceResponse response,
long contentLength)
|
protected static void |
setHeaders(PortletRequest portletRequest,
MimeResponse mimeResponse,
String fileName,
String contentType,
String contentDispositionType)
|
static void |
write(MimeResponse mimeResponse,
byte[] bytes)
|
static void |
write(MimeResponse mimeResponse,
byte[][] bytesArray)
|
static void |
write(MimeResponse mimeResponse,
byte[] bytes,
int offset,
int contentLength)
|
static void |
write(MimeResponse mimeResponse,
File file)
|
static void |
write(MimeResponse mimeResponse,
InputStream inputStream)
|
static void |
write(MimeResponse mimeResponse,
InputStream inputStream,
int contentLength)
|
static void |
write(MimeResponse mimeResponse,
String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletResponseUtil()
Method Detail |
---|
public static void sendFile(MimeResponse mimeResponse, String fileName, byte[] bytes) throws IOException
IOException
public static void sendFile(MimeResponse mimeResponse, String fileName, byte[] bytes, String contentType) throws IOException
IOException
public static void sendFile(MimeResponse mimeResponse, String fileName, InputStream inputStream) throws IOException
IOException
public static void sendFile(MimeResponse mimeResponse, String fileName, InputStream inputStream, int contentLength, String contentType) throws IOException
IOException
public static void sendFile(MimeResponse mimeResponse, String fileName, InputStream inputStream, String contentType) throws IOException
IOException
public static void sendFile(PortletRequest portletRequest, MimeResponse mimeResponse, String fileName, byte[] bytes) throws IOException
IOException
public static void sendFile(PortletRequest portletRequest, MimeResponse mimeResponse, String fileName, byte[] bytes, String contentType) throws IOException
IOException
public static void sendFile(PortletRequest portletRequest, MimeResponse mimeResponse, String fileName, byte[] bytes, String contentType, String contentDispositionType) throws IOException
IOException
public static void sendFile(PortletRequest portletRequest, MimeResponse mimeResponse, String fileName, InputStream inputStream) throws IOException
IOException
public static void sendFile(PortletRequest portletRequest, MimeResponse mimeResponse, String fileName, InputStream inputStream, int contentLength, String contentType) throws IOException
IOException
public static void sendFile(PortletRequest portletRequest, MimeResponse mimeResponse, String fileName, InputStream inputStream, int contentLength, String contentType, String contentDispositionType) throws IOException
IOException
public static void sendFile(PortletRequest portletRequest, MimeResponse mimeResponse, String fileName, InputStream inputStream, String contentType) throws IOException
IOException
public static void write(MimeResponse mimeResponse, byte[] bytes) throws IOException
IOException
public static void write(MimeResponse mimeResponse, byte[] bytes, int offset, int contentLength) throws IOException
IOException
public static void write(MimeResponse mimeResponse, byte[][] bytesArray) throws IOException
IOException
public static void write(MimeResponse mimeResponse, File file) throws IOException
IOException
public static void write(MimeResponse mimeResponse, InputStream inputStream) throws IOException
IOException
public static void write(MimeResponse mimeResponse, InputStream inputStream, int contentLength) throws IOException
IOException
public static void write(MimeResponse mimeResponse, String s) throws IOException
IOException
protected static void setContentLength(ResourceResponse response, long contentLength)
protected static void setHeaders(PortletRequest portletRequest, MimeResponse mimeResponse, String fileName, String contentType, String contentDispositionType)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |