|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mockobjects.MockObject com.mockobjects.servlet.MockHttpServletResponse
Constructor Summary | |
MockHttpServletResponse()
|
Method Summary | |
void |
addCookie(Cookie arg1)
Not Implemented |
void |
addDateHeader(java.lang.String arg1,
long arg2)
Not Implemented |
void |
addHeader(java.lang.String arg1,
java.lang.String arg2)
Not Implemented |
void |
addIntHeader(java.lang.String arg1,
int arg2)
Not Implemented |
boolean |
containsHeader(java.lang.String arg1)
Not Implemented |
java.lang.String |
encodeRedirectUrl(java.lang.String arg1)
Not Implemented |
java.lang.String |
encodeRedirectURL(java.lang.String arg1)
Not Implemented |
java.lang.String |
encodeUrl(java.lang.String arg1)
Not Implemented |
java.lang.String |
encodeURL(java.lang.String arg1)
Not Implemented |
void |
flushBuffer()
Not Implemented |
int |
getBufferSize()
Not Implemented |
java.lang.String |
getCharacterEncoding()
Not Implemented |
java.util.Locale |
getLocale()
Not Implemented |
ServletOutputStream |
getOutputStream()
|
java.lang.String |
getOutputStreamContents()
|
java.io.PrintWriter |
getWriter()
|
boolean |
isCommitted()
Not Implemented |
void |
reset()
Not Implemented |
void |
resetBuffer()
Not Implemented |
void |
sendError(int anErrorCode)
|
void |
sendError(int anErrorCode,
java.lang.String anErrorMessage)
|
void |
sendRedirect(java.lang.String aURL)
|
void |
setBufferSize(int arg1)
Not Implemented |
void |
setContentLength(int length)
|
void |
setContentType(java.lang.String contentType)
|
void |
setDateHeader(java.lang.String arg1,
long arg2)
Not Implemented |
void |
setExpectedContentLength(int length)
|
void |
setExpectedContentType(java.lang.String contentType)
|
void |
setExpectedError(int anErrorCode)
|
void |
setExpectedError(int anErrorCode,
java.lang.String anErrorMessage)
|
void |
setExpectedErrorNothing()
|
void |
setExpectedHeader(java.lang.String key,
java.lang.String value)
|
void |
setExpectedRedirect(java.lang.String aURL)
|
void |
setExpectedSetStatusCalls(int callCount)
|
void |
setHeader(java.lang.String key,
java.lang.String value)
|
void |
setIntHeader(java.lang.String arg1,
int arg2)
Not Implemented |
void |
setLocale(java.util.Locale arg1)
Not Implemented |
void |
setStatus(int status)
|
void |
setStatus(int arg1,
java.lang.String arg2)
Not Implemented |
void |
setupOutputStream(MockServletOutputStream anOutputStream)
|
Methods inherited from class com.mockobjects.MockObject |
notImplemented, notYetImplemented, verify |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MockHttpServletResponse()
Method Detail |
public void addCookie(Cookie arg1)
public void addDateHeader(java.lang.String arg1, long arg2)
public void addHeader(java.lang.String arg1, java.lang.String arg2)
public void addIntHeader(java.lang.String arg1, int arg2)
public boolean containsHeader(java.lang.String arg1)
public java.lang.String encodeRedirectUrl(java.lang.String arg1)
public java.lang.String encodeRedirectURL(java.lang.String arg1)
public java.lang.String encodeUrl(java.lang.String arg1)
public java.lang.String encodeURL(java.lang.String arg1)
public void flushBuffer() throws java.io.IOException
java.io.IOException
public int getBufferSize()
public java.lang.String getCharacterEncoding()
public java.util.Locale getLocale()
public ServletOutputStream getOutputStream() throws java.io.IOException
java.io.IOException
public java.lang.String getOutputStreamContents()
public java.io.PrintWriter getWriter() throws java.io.IOException
java.io.IOException
public boolean isCommitted()
public void reset()
public void resetBuffer()
public void setExpectedError(int anErrorCode)
public void setExpectedError(int anErrorCode, java.lang.String anErrorMessage)
public void setExpectedErrorNothing()
public void sendError(int anErrorCode) throws java.io.IOException
java.io.IOException
public void sendError(int anErrorCode, java.lang.String anErrorMessage) throws java.io.IOException
java.io.IOException
public void sendRedirect(java.lang.String aURL) throws java.io.IOException
java.io.IOException
public void setBufferSize(int arg1)
public void setContentLength(int length)
public void setExpectedContentLength(int length)
public void setContentType(java.lang.String contentType)
public void setDateHeader(java.lang.String arg1, long arg2)
public void setExpectedContentType(java.lang.String contentType)
public void setExpectedHeader(java.lang.String key, java.lang.String value)
public void setExpectedRedirect(java.lang.String aURL) throws java.io.IOException
java.io.IOException
public void setExpectedSetStatusCalls(int callCount)
public void setHeader(java.lang.String key, java.lang.String value)
public void setIntHeader(java.lang.String arg1, int arg2)
public void setLocale(java.util.Locale arg1)
public void setStatus(int status)
public void setStatus(int arg1, java.lang.String arg2)
public void setupOutputStream(MockServletOutputStream anOutputStream)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |