12.9.3. Register an Interceptor


This topic covers how to register a RESTEasy JAX-RS interceptor in an application.

Procedure 12.3. Register an Interceptor

  • To register an interceptor, list it in the web.xml file under the resteasy.providers context-param, or return it as a class or as an object in the Application.getClasses() or Application.getSingletons() method.