Class ChainedInterceptor

java.lang.Object
webwork.interceptor.ChainedInterceptor
All Implemented Interfaces:
Interceptor

public class ChainedInterceptor extends Object implements Interceptor
  • Constructor Details

    • ChainedInterceptor

      public ChainedInterceptor(List<Interceptor> interceptors)
  • Method Details

    • intercept

      public String intercept(InterceptorChain chain) throws Exception
      Description copied from interface: Interceptor
      The intercept method of the Interceptor is called by the dispatcher when an action is passed through the chain. The InterceptorChain passed in to this method allows the Interceptor to pass on to the next entity in the chain.
      Specified by:
      intercept in interface Interceptor
      Parameters:
      chain - the interceptor chain that contains the next interceptor and the ultimate action
      Returns:
      the result of the execution
      Throws:
      Exception - if something goes wrong