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.voidsetNextStep(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:ControllerCall the method that handles the request.- Specified by:
applyin interfaceController- Parameters:
request- the http request.response- the http response.configuration- the configuration.- Returns:
- the response.
- Throws:
Exception
-
setNextStep
Description copied from interface:ControllerSet the next controller.- Specified by:
setNextStepin interfaceController- Parameters:
controller- The next controller.
-