11.9.3. Register an Interceptor

Task Summary

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

Procedure 11.3. Task

  • 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.