Class ModuloController
java.lang.Object
com.chillycheesy.modulo.controllers.ModuloController
- All Implemented Interfaces:
Controller
Controller that represent a root
Controller.-
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.getName()intvoidvoidsetNextStep(Controller controller)Set the next controller.voidsetPriority(int priority)
-
Field Details
-
name
-
priority
protected int priority -
controller
-
-
Constructor Details
-
ModuloController
-
ModuloController
-
-
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.
-
getName
-
getPriority
public int getPriority() -
getController
-
setName
-
setPriority
public void setPriority(int priority)
-