org.jboss.portal.common.servlet
Class BufferingResponseWrapper
java.lang.Object
HttpServletResponseWrapper
org.jboss.portal.common.servlet.BufferingResponseWrapper
public class BufferingResponseWrapper
- extends HttpServletResponseWrapper
Redirection of the Writer
- Version:
- $Revision: 7228 $
- Author:
- Thomas Heute
Field Summary |
protected int |
bufferSize
Not really used but we need it to memorize what the client set optionally. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bufferSize
protected int bufferSize
- Not really used but we need it to memorize what the client set optionally.
BufferingResponseWrapper
public BufferingResponseWrapper(HttpServletResponse response)
getContent
public java.lang.String getContent()
addCookie
public void addCookie(Cookie arg0)
addDateHeader
public void addDateHeader(java.lang.String arg0,
long arg1)
addHeader
public void addHeader(java.lang.String arg0,
java.lang.String arg1)
addIntHeader
public void addIntHeader(java.lang.String arg0,
int arg1)
sendError
public void sendError(int arg0)
throws java.io.IOException
- Throws:
java.io.IOException
sendError
public void sendError(int arg0,
java.lang.String arg1)
throws java.io.IOException
- Throws:
java.io.IOException
sendRedirect
public void sendRedirect(java.lang.String arg0)
throws java.io.IOException
- Throws:
java.io.IOException
setDateHeader
public void setDateHeader(java.lang.String arg0,
long arg1)
setHeader
public void setHeader(java.lang.String arg0,
java.lang.String arg1)
setIntHeader
public void setIntHeader(java.lang.String arg0,
int arg1)
setStatus
public void setStatus(int arg0)
setStatus
public void setStatus(int arg0,
java.lang.String arg1)
getBufferSize
public int getBufferSize()
getCharacterEncoding
public java.lang.String getCharacterEncoding()
getOutputStream
public ServletOutputStream getOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getWriter
public java.io.PrintWriter getWriter()
throws java.io.IOException
- Throws:
java.io.IOException
isCommitted
public boolean isCommitted()
reset
public void reset()
resetBuffer
public void resetBuffer()
setBufferSize
public void setBufferSize(int bufferSize)
setCharacterEncoding
public void setCharacterEncoding(java.lang.String characterEncoding)
setContentLength
public void setContentLength(int arg0)
setContentType
public void setContentType(java.lang.String arg0)
setLocale
public void setLocale(java.util.Locale arg0)