Class ControllerFilterAdapter
java.lang.Object
org.javalite.activeweb.controller_filters.ControllerFilterAdapter
- All Implemented Interfaces:
ControllerFilter
This is a convenience class for filters to extend. It provides no-op methods already implemented
from
ControllerFilter
.- Author:
- Igor Polevoy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
after()
Called by framework after executing a controllervoid
before()
Called by framework before executing a controllervoid
onException(Exception e)
Called by framework in case there was an exception inside a controller
-
Constructor Details
-
ControllerFilterAdapter
public ControllerFilterAdapter()
-
-
Method Details
-
before
public void before()Description copied from interface:ControllerFilter
Called by framework before executing a controller- Specified by:
before
in interfaceControllerFilter
-
after
public void after()Description copied from interface:ControllerFilter
Called by framework after executing a controller- Specified by:
after
in interfaceControllerFilter
-
onException
Description copied from interface:ControllerFilter
Called by framework in case there was an exception inside a controller- Specified by:
onException
in interfaceControllerFilter
- Parameters:
e
- exception.
-