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()
int
void
void
setNextStep(Controller controller)
Set the next controller.void
setPriority(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: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.
-
getName
-
getPriority
public int getPriority() -
getController
-
setName
-
setPriority
public void setPriority(int priority)
-