Package org.glassfish.jersey.client
Class CustomProvidersFeature
java.lang.Object
org.glassfish.jersey.client.CustomProvidersFeature
- All Implemented Interfaces:
javax.ws.rs.core.Feature
Feature to provide the single-line registration of custom providers.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomProvidersFeature
(Collection<Class<?>> providers) Constructs Feature which is used to register providers as providers in Configuration. -
Method Summary
-
Field Details
-
providers
-
-
Constructor Details
-
CustomProvidersFeature
Constructs Feature which is used to register providers as providers in Configuration.- Parameters:
providers
- collection of providers which are going to be registered
-
-
Method Details
-
configure
public boolean configure(javax.ws.rs.core.FeatureContext context) - Specified by:
configure
in interfacejavax.ws.rs.core.Feature
-