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 Object
- implements javax.ws.rs.core.Feature
Feature to provide the single-line registration of custom providers.
- Author:
- Stepan Kopriva (stepan.kopriva at oracle.com)
|
Method Summary |
boolean |
configure(javax.ws.rs.core.FeatureContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomProvidersFeature
public CustomProvidersFeature(Collection<Class<?>> providers)
- Constructs Feature which is used to register providers as providers in Configuration.
- Parameters:
providers - collection of providers which are going to be registered
configure
public boolean configure(javax.ws.rs.core.FeatureContext context)
- Specified by:
configure in interface javax.ws.rs.core.Feature
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.