com.mockobjects.servlet
Class MockPageContext
public
class
MockPageContext
extends PageContext
Method Summary |
Object | findAttribute(String s) |
void | forward(String s) |
Object | getAttribute(String s, int i) |
Object | getAttribute(String s) |
Enumeration | getAttributeNamesInScope(int i) |
int | getAttributesScope(String s) |
Exception | getException() |
ExpressionEvaluator | getExpressionEvaluator() |
JspWriter | getOut() |
Object | getPage() |
ServletRequest | getRequest() |
ServletResponse | getResponse() |
ServletConfig | getServletConfig() |
ServletContext | getServletContext() |
HttpSession | getSession() |
VariableResolver | getVariableResolver() |
void | handlePageException(Exception e) |
void | handlePageException(Throwable t) |
void | include(String s) |
void | include(String s, boolean b) |
void | initialize(Servlet servlet, ServletRequest servletRequest, ServletResponse servletResponse, String s, boolean b, int i, boolean b2) |
void | release() |
void | removeAttribute(String s, int i) |
void | removeAttribute(String s) |
void | setAttribute(String s, Object o) |
void | setAttribute(String s, Object o, int i) |
void | setJspWriter(JspWriter jspWriter) |
void | setRequest(ServletRequest servletRequest) |
void | setServletContext(ServletContext servletContext) |
void | setSession(HttpSession httpSession) |
void | verify() |
public Object findAttribute(String s)
public void forward(String s)
public Object getAttribute(String s, int i)
public Object getAttribute(String s)
public Enumeration getAttributeNamesInScope(int i)
public int getAttributesScope(String s)
public Exception getException()
public ExpressionEvaluator getExpressionEvaluator()
public JspWriter getOut()
public Object getPage()
public ServletRequest getRequest()
public ServletResponse getResponse()
public ServletConfig getServletConfig()
public ServletContext getServletContext()
public HttpSession getSession()
public VariableResolver getVariableResolver()
public void handlePageException(Exception e)
public void handlePageException(Throwable t)
public void include(String s)
public void include(String s, boolean b)
public void initialize(Servlet servlet, ServletRequest servletRequest, ServletResponse servletResponse, String s, boolean b, int i, boolean b2)
public void release()
public void removeAttribute(String s, int i)
public void removeAttribute(String s)
public void setAttribute(String s, Object o)
public void setAttribute(String s, Object o, int i)
public void setJspWriter(JspWriter jspWriter)
public void setRequest(ServletRequest servletRequest)
public void setServletContext(ServletContext servletContext)
public void setSession(HttpSession httpSession)
public void verify()
Copyright © 2002 Mock Objects. All Rights Reserved.