Package com.avoka.fc.core.servlet
Class MockRequestContext
- java.lang.Object
-
- com.avoka.fc.core.servlet.RequestContext
-
- com.avoka.fc.core.servlet.MockRequestContext
-
public class MockRequestContext extends RequestContext
Provides a mock request context.
-
-
Constructor Summary
Constructors Constructor Description MockRequestContext(ServletContext context, HttpServletRequest request, HttpServletResponse response)
Create a new mock request context instance
-
Method Summary
-
Methods inherited from class com.avoka.fc.core.servlet.RequestContext
bindThreadRequestContext, getRequest, getResponse, getServletContext, getSession, getThreadRequest, getThreadRequestContext, toString
-
-
-
-
Constructor Detail
-
MockRequestContext
public MockRequestContext(ServletContext context, HttpServletRequest request, HttpServletResponse response)
Create a new mock request context instance- Parameters:
context
- the servlet contextrequest
- the HTTP servlet requestresponse
- the HTTP servlet response
-
-