org.openmobileis.test.mock.embedded.MockHttpServletResponse Class Reference

List of all members.

Detailed Description

Definition at line 50 of file MockHttpServletResponse.java.

Public Member Functions

 MockHttpServletResponse ()
void addCookie (Cookie arg0)
void addDateHeader (String header, long date)
void addHeader (String header, String value)
void addIntHeader (String header, int value)
boolean containsHeader (String name)
String encodeRedirectURL (String url)
String encodeRedirectUrl (String url)
String encodeURL (String url)
String encodeUrl (String url)
void sendError (int resCode) throws IOException
void sendError (int resCode, String resMessage) throws IOException
void sendRedirect (String url) throws IOException
void setDateHeader (String name, long value)
void setHeader (String name, String value)
void setIntHeader (String name, int value)
void setStatus (int resCode)
void setStatus (int resCode, String resMessage)
void flushBuffer () throws IOException
int getBufferSize ()
String getCharacterEncoding ()
String getContentType ()
String getHeader (String name)
Locale getLocale ()
ServletOutputStream getOutputStream () throws IOException
PrintWriter getWriter () throws IOException
boolean isCommitted ()
void reset ()
void resetBuffer ()
void setBufferSize (int arg0)
void setCharacterEncoding (String enc)
void setContentLength (int length)
void setContentType (String type)
void setLocale (Locale arg0)

Public Attributes

Hashtable headers = new Hashtable()
int status
String statusMessage
Locale locale
ByteArrayOutputStream outStream
String characterEncoding

Static Public Attributes

static final String CONTENTLENGTH = "Content-Length"
static final String CONTENTTYPE = "Content-Type"

Static Protected Attributes

static final SimpleDateFormat datefmt


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:43 2006 for OpenMobileIS by  doxygen 1.5.1-p1