JBoss.orgCommunity Documentation

Chapter 28. Client providers with @Provider annotation

There are two types of client provider definitions:

The JAX-RS specification also requires that all provider classes annotated with @Provider annotation are registered for every client instance if the JAX-RS container runtime is able to process annotations. Since RESTEasy 3.7 this behavior is the default. However, to avoid possible problems with already created applications caused by unwanted or duplicated registrations of client providers this behavior can be disabled by "resteasy.client.providers.annotations.disabled" system property.