org.apache.empire.struts2.web.servlet
Class ServletResponseWrapper
java.lang.Object
org.apache.empire.struts2.web.servlet.ServletResponseWrapper
- All Implemented Interfaces:
- ResponseContext
public class ServletResponseWrapper
- extends Object
- implements ResponseContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletResponseWrapper
public ServletResponseWrapper(javax.servlet.http.HttpServletResponse res)
getExternalResponse
public Object getExternalResponse()
- Specified by:
getExternalResponse in interface ResponseContext
addCookie
public void addCookie(javax.servlet.http.Cookie cookie)
- Specified by:
addCookie in interface ResponseContext
encodeURL
public String encodeURL(String url)
- Specified by:
encodeURL in interface ResponseContext
encodeRedirectURL
public String encodeRedirectURL(String url)
- Specified by:
encodeRedirectURL in interface ResponseContext
sendRedirect
public void sendRedirect(String location)
throws IOException
- Specified by:
sendRedirect in interface ResponseContext
- Throws:
IOException
getLocale
public Locale getLocale()
- Specified by:
getLocale in interface ResponseContext
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncoding in interface ResponseContext
getContentType
public String getContentType()
- Specified by:
getContentType in interface ResponseContext
setContentType
public void setContentType(String type)
- Specified by:
setContentType in interface ResponseContext
getBufferSize
public int getBufferSize()
- Specified by:
getBufferSize in interface ResponseContext
setBufferSize
public void setBufferSize(int size)
- Specified by:
setBufferSize in interface ResponseContext
getWriter
public PrintWriter getWriter()
throws IOException
- Specified by:
getWriter in interface ResponseContext
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream in interface ResponseContext
- Throws:
IOException
flushBuffer
public void flushBuffer()
throws IOException
- Specified by:
flushBuffer in interface ResponseContext
- Throws:
IOException
resetBuffer
public void resetBuffer()
- Specified by:
resetBuffer in interface ResponseContext
isCommitted
public boolean isCommitted()
- Specified by:
isCommitted in interface ResponseContext
reset
public void reset()
- Specified by:
reset in interface ResponseContext
Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.