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 Details

    • MockRequestContext

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