org.vraptor.interceptor
Class SettingAndValidationInterceptor
java.lang.Object
org.vraptor.interceptor.SettingAndValidationInterceptor
- All Implemented Interfaces:
- Interceptor
public class SettingAndValidationInterceptor
- extends Object
- implements Interceptor
Responsible for setters and validation.
- Author:
- Guilherme Silveira, Paulo Silveira
|
Method Summary |
void |
intercept(LogicFlow flow)
Validates and then Sets the component parameters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SettingAndValidationInterceptor
public SettingAndValidationInterceptor(WebApplication webApp)
intercept
public void intercept(LogicFlow flow)
throws LogicException,
ViewException
- Validates and then Sets the component parameters.
This interceptor will not continue the logicFlow if an invalid parameter
was passed, this way the ViewInterceptor will not be executed. It will
also confirmResult to INVALID in this case.
- Specified by:
intercept in interface Interceptor
- Throws:
LogicException - some logic exception occurred
ViewException - some view exception occurred
Copyright © 2004-2008 VRaptor. All Rights Reserved.