Class HttpParamVariableController
java.lang.Object
com.chillycheesy.modulo.controllers.HttpParamVariableController
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Configuration configuration)
Call the method that handles the request.void
setNextStep(Controller controller)
Set the next controller.
-
Field Details
-
PARAM_VARIABLE_SECTION
- See Also:
- Constant Field Values
-
-
Constructor Details
-
HttpParamVariableController
public HttpParamVariableController()
-
-
Method Details
-
apply
public Object apply(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Configuration configuration) throws ExceptionDescription copied from interface:Controller
Call the method that handles the request.- Specified by:
apply
in interfaceController
- Parameters:
request
- the http request.response
- the http response.configuration
- the configuration.- Returns:
- the response.
- Throws:
Exception
-
setNextStep
Description copied from interface:Controller
Set the next controller.- Specified by:
setNextStep
in interfaceController
- Parameters:
controller
- The next controller.
-