jodd-madvoc/src/main/java/jodd/madvoc/MadvocRouter.java
@SuppressWarnings("unchecked")
	public <T extends ActionInterceptor> MadvocRouter interceptor(final Class<T> actionInterceptorClass, final Consumer<T> interceptorConsumer) {
		T interceptor = (T) interceptorsManager.resolve(actionInterceptorClass);
		interceptorConsumer.accept(interceptor);
		return this;
	}
@SuppressWarnings("unchecked")
	public <T extends ActionInterceptor> MadvocRouter interceptor(final Class<T> actionInterceptorClass, final Consumer<T> interceptorConsumer) {
		T interceptor = (T) interceptorsManager.resolve(actionInterceptorClass);
		interceptorConsumer.accept(interceptor);
		return this;
	}
@ SuppressWarnings ( "unchecked" ) public < T extends ActionInterceptor > MadvocRouter interceptor ( final Class < T > actionInterceptorClass , final Consumer < T > interceptorConsumer ) { T interceptor = ( T ) interceptorsManager . resolve ( actionInterceptorClass ) ; interceptorConsumer . accept ( interceptor ) ; return this ; }
Configures an interceptor.
Configures an interceptor .