org.glassfish.jersey.client
Class JerseyConfiguration
java.lang.Object
org.glassfish.jersey.client.JerseyConfiguration
- All Implemented Interfaces:
- javax.ws.rs.client.Configuration, FeaturesAndProperties
public class JerseyConfiguration
- extends Object
- implements javax.ws.rs.client.Configuration, FeaturesAndProperties
Jersey implementation of JAX-RS client
configuration contract.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties in interface javax.ws.rs.client.Configuration- Specified by:
getProperties in interface FeaturesAndProperties
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface javax.ws.rs.client.Configuration- Specified by:
getProperty in interface FeaturesAndProperties
isProperty
public boolean isProperty(String name)
- Specified by:
isProperty in interface FeaturesAndProperties
getFeatures
public Set<javax.ws.rs.client.Feature> getFeatures()
- Specified by:
getFeatures in interface javax.ws.rs.client.Configuration
isEnabled
public boolean isEnabled(Class<? extends javax.ws.rs.client.Feature> feature)
- Specified by:
isEnabled in interface javax.ws.rs.client.Configuration
getProviderClasses
public Set<Class<?>> getProviderClasses()
- Specified by:
getProviderClasses in interface javax.ws.rs.client.Configuration
getProviderInstances
public Set<Object> getProviderInstances()
- Specified by:
getProviderInstances in interface javax.ws.rs.client.Configuration
update
public JerseyConfiguration update(javax.ws.rs.client.Configuration configuration)
- Specified by:
update in interface javax.ws.rs.client.Configuration
register
public JerseyConfiguration register(Class<?> providerClass)
- Specified by:
register in interface javax.ws.rs.client.Configuration
register
public JerseyConfiguration register(Object provider)
- Specified by:
register in interface javax.ws.rs.client.Configuration
enable
public JerseyConfiguration enable(javax.ws.rs.client.Feature feature)
- Specified by:
enable in interface javax.ws.rs.client.Configuration
disable
public JerseyConfiguration disable(Class<? extends javax.ws.rs.client.Feature> feature)
- Specified by:
disable in interface javax.ws.rs.client.Configuration
setProperties
public JerseyConfiguration setProperties(Map<String,? extends Object> properties)
- Specified by:
setProperties in interface javax.ws.rs.client.Configuration
setProperty
public JerseyConfiguration setProperty(String name,
Object value)
- Specified by:
setProperty in interface javax.ws.rs.client.Configuration
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.