org.apache.empire.struts2.web
Interface ResponseContext
- All Known Implementing Classes:
- PortletResponseWrapper, ServletResponseWrapper
public interface ResponseContext
getExternalResponse
Object getExternalResponse()
addCookie
void addCookie(javax.servlet.http.Cookie cookie)
encodeURL
String encodeURL(String url)
encodeRedirectURL
String encodeRedirectURL(String url)
sendRedirect
void sendRedirect(String location)
throws IOException
- Throws:
IOException
getLocale
Locale getLocale()
getCharacterEncoding
String getCharacterEncoding()
getContentType
String getContentType()
setContentType
void setContentType(String type)
getBufferSize
int getBufferSize()
setBufferSize
void setBufferSize(int size)
getWriter
PrintWriter getWriter()
throws IOException
- Throws:
IOException
getOutputStream
OutputStream getOutputStream()
throws IOException
- Throws:
IOException
flushBuffer
void flushBuffer()
throws IOException
- Throws:
IOException
resetBuffer
void resetBuffer()
isCommitted
boolean isCommitted()
reset
void reset()
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.