org.vraptor.plugin.interceptor
Class ConcatenateInterceptorsLogicFlow

java.lang.Object
  extended by org.vraptor.plugin.interceptor.ConcatenateInterceptorsLogicFlow
All Implemented Interfaces:
LogicFlow

public class ConcatenateInterceptorsLogicFlow
extends Object
implements LogicFlow

A flow which concatenates a few interceptors in the middle of the current flow.

Since:
2.3.2
Author:
Guilherme Silveira

Constructor Summary
ConcatenateInterceptorsLogicFlow(List<InterceptorType> interceptors, LogicFlow flow, Introspector introspector)
           
 
Method Summary
 void execute()
          Executes the next interceptor or logic
 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

ConcatenateInterceptorsLogicFlow

public ConcatenateInterceptorsLogicFlow(List<InterceptorType> interceptors,
                                        LogicFlow flow,
                                        Introspector introspector)
Method Detail

execute

public void execute()
             throws ViewException,
                    LogicException
Description copied from interface: LogicFlow
Executes the next interceptor or logic

Specified by:
execute in interface LogicFlow
Throws:
ViewException - some view problem
LogicException - some logic or interceptor problem

getLogicRequest

public LogicRequest getLogicRequest()
Description copied from interface: LogicFlow
Returns the respective LogicRequest for this flow

Specified by:
getLogicRequest in interface LogicFlow
Returns:

redirect

public void redirect(String url)
              throws RedirectException
Description copied from interface: LogicFlow
Executes a server side redirect to this url. If a ViewException occurs it might be dangerous to try a server side forward (the end-user might get an unexpected combination of both pages).

Specified by:
redirect in interface LogicFlow
Throws:
RedirectException


Copyright © 2004-2008 VRaptor. All Rights Reserved.