net.kldp.beat.mock
Class HttpServletResponseMock
java.lang.Object
net.kldp.beat.mock.HttpServletResponseMock
public class HttpServletResponseMock
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServletResponseMock
public HttpServletResponseMock()
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)
containsHeader
public boolean containsHeader(java.lang.String arg0)
encodeRedirectURL
public java.lang.String encodeRedirectURL(java.lang.String arg0)
encodeRedirectUrl
public java.lang.String encodeRedirectUrl(java.lang.String arg0)
encodeURL
public java.lang.String encodeURL(java.lang.String arg0)
encodeUrl
public java.lang.String encodeUrl(java.lang.String arg0)
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)
flushBuffer
public void flushBuffer()
throws java.io.IOException
- Throws:
java.io.IOException
getBufferSize
public int getBufferSize()
getCharacterEncoding
public java.lang.String getCharacterEncoding()
getContentType
public java.lang.String getContentType()
getLocale
public java.util.Locale getLocale()
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 arg0)
setCharacterEncoding
public void setCharacterEncoding(java.lang.String arg0)
setContentLength
public void setContentLength(int arg0)
setContentType
public void setContentType(java.lang.String arg0)
setLocale
public void setLocale(java.util.Locale arg0)