Class MockRequestContext


  • public class MockRequestContext
    extends RequestContext
    Provides a mock request context.
    • Constructor Detail

      • MockRequestContext

        public MockRequestContext​(ServletContext context,
                                  HttpServletRequest request,
                                  HttpServletResponse response)
        Create a new mock request context instance
        Parameters:
        context - the servlet context
        request - the HTTP servlet request
        response - the HTTP servlet response