org.vraptor.plugin.interceptor
Class ContinueToFlowInterceptor

java.lang.Object
  extended by org.vraptor.plugin.interceptor.ContinueToFlowInterceptor
All Implemented Interfaces:
Interceptor

public class ContinueToFlowInterceptor
extends Object
implements Interceptor

An interceptor which redirects the current flow to another one.

Version:
2.3.1
Author:
Guilherme Silveira

Constructor Summary
ContinueToFlowInterceptor(LogicFlow toFlow)
           
 
Method Summary
 void intercept(LogicFlow flow)
          Intercepts calls to logic components
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinueToFlowInterceptor

public ContinueToFlowInterceptor(LogicFlow toFlow)
Parameters:
toFlow - the flow to redirect to
Method Detail

intercept

public void intercept(LogicFlow flow)
               throws LogicException,
                      ViewException
Description copied from interface: Interceptor
Intercepts calls to logic components

Specified by:
intercept in interface Interceptor
Throws:
LogicException - some logic exception occurred
ViewException - some view exception occurred


Copyright © 2004-2008 VRaptor. All Rights Reserved.