Class HttpParamVariableController

java.lang.Object
com.chillycheesy.modulo.controllers.HttpParamVariableController
All Implemented Interfaces:
Controller

public class HttpParamVariableController extends Object implements Controller
Controller that register all parameters name of the request inside the configuration. Each parameter name is register as key inside the "param-variable" section.
  • Field Details

  • Constructor Details

    • HttpParamVariableController

      public HttpParamVariableController()
  • Method Details

    • apply

      public Object apply(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Configuration configuration) throws Exception
      Description copied from interface: Controller
      Call the method that handles the request.
      Specified by:
      apply in interface Controller
      Parameters:
      request - the http request.
      response - the http response.
      configuration - the configuration.
      Returns:
      the response.
      Throws:
      Exception
    • setNextStep

      public void setNextStep(Controller controller)
      Description copied from interface: Controller
      Set the next controller.
      Specified by:
      setNextStep in interface Controller
      Parameters:
      controller - The next controller.