28.6. Registering Interceptors
When your interceptors are annotated as
@Provider
s, they can be listed in the resteasy.providers context-param
in web.xml
, or returned as a class or object in the Application.getClasses()
or Application.getSingletons()
method.