13.9.3. Register an Interceptor
Summary
This topic covers how to register a RESTEasy JAX-RS interceptor in an application.
Procedure 13.3. Register an Interceptor
- To register an interceptor, list it in the
web.xml
file under theresteasy.providers
context-param, or return it as a class or as an object in theApplication.getClasses()
orApplication.getSingletons()
method.