|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.core.InterceptorsLogicFlow
public class InterceptorsLogicFlow
The base implementation of logic flow, calling the given interceptors.
| Constructor Summary | |
|---|---|
InterceptorsLogicFlow(LogicRequest request,
InterceptorDealer dealer)
|
|
| Method Summary | |
|---|---|
void |
addInterceptor(InterceptorType i)
Adds an interceptor to the top. |
void |
execute()
Executes the next step in the flow, keeping in mind the last interceptor executed, so we can execute the next one. |
LogicRequest |
getLogicRequest()
Returns the respective LogicRequest for this flow |
void |
redirect(String url)
Executes a server side redirect to this url. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterceptorsLogicFlow(LogicRequest request,
InterceptorDealer dealer)
| Method Detail |
|---|
public void execute()
throws ViewException,
LogicException
execute in interface LogicFlowViewException - some view problem
LogicException - some logic or interceptor problempublic void addInterceptor(InterceptorType i)
i - the interceptor to add
public void redirect(String url)
throws RedirectException
LogicFlow
redirect in interface LogicFlowRedirectExceptionpublic LogicRequest getLogicRequest()
LogicFlow
getLogicRequest in interface LogicFlow
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||