Package org.glassfish.jersey.client
Class CustomProvidersFeature
- java.lang.Object
-
- org.glassfish.jersey.client.CustomProvidersFeature
-
- All Implemented Interfaces:
javax.ws.rs.core.Feature
public class CustomProvidersFeature extends java.lang.Object implements javax.ws.rs.core.Feature
Feature to provide the single-line registration of custom providers.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<java.lang.Class<?>>
providers
-
Constructor Summary
Constructors Constructor Description CustomProvidersFeature(java.util.Collection<java.lang.Class<?>> providers)
Constructs Feature which is used to register providers as providers in Configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(javax.ws.rs.core.FeatureContext context)
-