public interface Interceptor
InterceptorSequence. If the
accepts(ResourceMethod)method only depends on received
ResourceMethod, you can annotate the interceptor with @
Lazy, so the Interceptor will only be instantiated if the accepts returns true. You should not use @Lazy if accepts is constant, or depends on any constructor parameter.
Copyright © 2013 Caelum. All Rights Reserved.