public class PortletResponseWrapper extends Object implements ResponseContext
| Constructor and Description |
|---|
PortletResponseWrapper(javax.portlet.PortletResponse res) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCookie(javax.servlet.http.Cookie cookie) |
String |
encodeRedirectURL(String url) |
String |
encodeURL(String url) |
void |
flushBuffer() |
int |
getBufferSize() |
String |
getCharacterEncoding() |
String |
getContentType() |
Object |
getExternalResponse() |
Locale |
getLocale() |
OutputStream |
getOutputStream() |
PrintWriter |
getWriter() |
boolean |
isCommitted() |
void |
reset() |
void |
resetBuffer() |
void |
sendRedirect(String location) |
void |
setBufferSize(int size) |
void |
setContentType(String type) |
public PortletResponseWrapper(javax.portlet.PortletResponse res)
public Object getExternalResponse()
getExternalResponse in interface ResponseContextpublic void addCookie(javax.servlet.http.Cookie cookie)
addCookie in interface ResponseContextpublic String encodeURL(String url)
encodeURL in interface ResponseContextpublic String encodeRedirectURL(String url)
encodeRedirectURL in interface ResponseContextpublic void sendRedirect(String location) throws IOException
sendRedirect in interface ResponseContextIOExceptionpublic Locale getLocale()
getLocale in interface ResponseContextpublic String getCharacterEncoding()
getCharacterEncoding in interface ResponseContextpublic String getContentType()
getContentType in interface ResponseContextpublic void setContentType(String type)
setContentType in interface ResponseContextpublic int getBufferSize()
getBufferSize in interface ResponseContextpublic void setBufferSize(int size)
setBufferSize in interface ResponseContextpublic PrintWriter getWriter() throws IOException
getWriter in interface ResponseContextIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface ResponseContextIOExceptionpublic void flushBuffer()
throws IOException
flushBuffer in interface ResponseContextIOExceptionpublic void resetBuffer()
resetBuffer in interface ResponseContextpublic boolean isCommitted()
isCommitted in interface ResponseContextpublic void reset()
reset in interface ResponseContextCopyright © 2008–2022 Apache Software Foundation. All rights reserved.