Package com.mockobjects.servlet
Class MockHttpServletResponse
java.lang.Object
com.mockobjects.MockObject
com.mockobjects.servlet.MockHttpServletResponse
- All Implemented Interfaces:
Verifiable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCookie
(Cookie arg1) Not Implementedvoid
addDateHeader
(String arg1, long arg2) Not Implementedvoid
Not Implementedvoid
addIntHeader
(String arg1, int arg2) Not Implementedboolean
containsHeader
(String arg1) Not ImplementedencodeRedirectUrl
(String arg1) Not ImplementedencodeRedirectURL
(String arg1) Not ImplementedNot ImplementedNot Implementedvoid
Not Implementedint
Not ImplementedNot ImplementedNot ImplementedServletOutputStream
boolean
Not Implementedvoid
reset()
Not Implementedvoid
Not Implementedvoid
sendError
(int anErrorCode) void
void
sendRedirect
(String aURL) void
setBufferSize
(int arg1) Not Implementedvoid
setContentLength
(int length) void
setContentType
(String contentType) void
setDateHeader
(String arg1, long arg2) Not Implementedvoid
setExpectedContentLength
(int length) void
setExpectedContentType
(String contentType) void
setExpectedError
(int anErrorCode) void
setExpectedError
(int anErrorCode, String anErrorMessage) void
void
setExpectedHeader
(String key, String value) void
setExpectedRedirect
(String aURL) void
setExpectedSetStatusCalls
(int callCount) void
void
setIntHeader
(String arg1, int arg2) Not Implementedvoid
Not Implementedvoid
setStatus
(int status) void
Not Implementedvoid
setupOutputStream
(MockServletOutputStream anOutputStream) Methods inherited from class com.mockobjects.MockObject
notImplemented, notYetImplemented, verify
-
Constructor Details
-
MockHttpServletResponse
public MockHttpServletResponse()
-
-
Method Details
-
addCookie
public void addCookie(Cookie arg1) Not Implemented -
addDateHeader
Not Implemented -
addHeader
Not Implemented -
addIntHeader
Not Implemented -
containsHeader
Not Implemented -
encodeRedirectUrl
Not Implemented -
encodeRedirectURL
Not Implemented -
encodeUrl
Not Implemented -
encodeURL
Not Implemented -
flushBuffer
Not Implemented- Throws:
IOException
-
getBufferSize
public int getBufferSize()Not Implemented -
getCharacterEncoding
Not Implemented -
getLocale
Not Implemented -
getOutputStream
- Throws:
IOException
-
getOutputStreamContents
-
getWriter
- Throws:
IOException
-
isCommitted
public boolean isCommitted()Not Implemented -
reset
public void reset()Not Implemented -
resetBuffer
public void resetBuffer()Not Implemented -
setExpectedError
public void setExpectedError(int anErrorCode) -
setExpectedError
-
setExpectedErrorNothing
public void setExpectedErrorNothing() -
sendError
- Throws:
IOException
-
sendError
- Throws:
IOException
-
sendRedirect
- Throws:
IOException
-
setBufferSize
public void setBufferSize(int arg1) Not Implemented -
setContentLength
public void setContentLength(int length) -
setExpectedContentLength
public void setExpectedContentLength(int length) -
setContentType
-
setDateHeader
Not Implemented -
setExpectedContentType
-
setExpectedHeader
-
setExpectedRedirect
- Throws:
IOException
-
setExpectedSetStatusCalls
public void setExpectedSetStatusCalls(int callCount) -
setHeader
-
setIntHeader
Not Implemented -
setLocale
Not Implemented -
setStatus
public void setStatus(int status) -
setStatus
Not Implemented -
setupOutputStream
-