See: Description
Class | Description |
---|---|
DelegatingServletInputStream |
Delegating implementation of
javax.servlet.ServletInputStream . |
DelegatingServletOutputStream |
Delegating implementation of
javax.servlet.ServletOutputStream . |
HeaderValueHolder |
Internal helper class that serves as value holder for request headers.
|
MockAsyncContext |
Mock implementation of the
AsyncContext interface. |
MockBodyContent |
Mock implementation of the
javax.servlet.jsp.tagext.BodyContent class. |
MockExpressionEvaluator |
Mock implementation of the JSP 2.0
javax.servlet.jsp.el.ExpressionEvaluator
interface, delegating to the Apache JSTL ExpressionEvaluatorManager. |
MockFilterChain |
Mock implementation of the
javax.servlet.FilterChain interface. |
MockFilterChain.ServletFilterProxy |
A filter that simply delegates to a Servlet.
|
MockFilterConfig |
Mock implementation of the
javax.servlet.FilterConfig interface. |
MockHttpServletRequest |
Mock implementation of the
javax.servlet.http.HttpServletRequest interface. |
MockHttpServletResponse |
Mock implementation of the
javax.servlet.http.HttpServletResponse interface. |
MockHttpSession |
Mock implementation of the
javax.servlet.http.HttpSession interface. |
MockJspWriter |
Mock implementation of the
javax.servlet.jsp.JspWriter class. |
MockMultipartFile |
Mock implementation of the
MultipartFile
interface. |
MockMultipartHttpServletRequest |
Mock implementation of the
MultipartHttpServletRequest interface. |
MockPageContext |
Mock implementation of the
javax.servlet.jsp.PageContext interface. |
MockPart |
Mock implementation of
javax.servlet.http.Part . |
MockRequestDispatcher |
Mock implementation of the
javax.servlet.RequestDispatcher interface. |
MockServletConfig |
Mock implementation of the
javax.servlet.ServletConfig interface. |
MockServletContext |
Mock implementation of the
javax.servlet.ServletContext interface. |
MockSessionCookieConfig |
Mock implementation of the
javax.servlet.SessionCookieConfig interface. |
PassThroughFilterChain |
Implementation of the
javax.servlet.FilterConfig interface which
simply passes the call through to a given Filter/FilterChain combination
(indicating the next Filter in the chain along with the FilterChain that it is
supposed to work on) or to a given Servlet (indicating the end of the chain). |
Useful for testing web contexts and controllers.
More convenient to use than dynamic mock objects (EasyMock) or existing Servlet API mock objects (MockObjects).