org.glassfish.jersey.client
Class Configuration

java.lang.Object
  extended by org.glassfish.jersey.client.Configuration
All Implemented Interfaces:
javax.ws.rs.client.Configuration, FeaturesAndProperties

public class Configuration
extends Object
implements javax.ws.rs.client.Configuration, FeaturesAndProperties

Author:
Marek Potociar (marek.potociar at oracle.com)

Method Summary
 Configuration disable(Class<? extends javax.ws.rs.client.Feature> feature)
           
 Configuration enable(Class<? extends javax.ws.rs.client.Feature> feature)
           
 Configuration enable(javax.ws.rs.client.Feature feature)
           
 boolean equals(Object obj)
           
 Set<javax.ws.rs.client.Feature> getFeatures()
           
 Map<String,Object> getProperties()
           
 Object getProperty(String name)
           
 Set<Class<?>> getProviderClasses()
           
 Set<Object> getProviderInstances()
           
 int hashCode()
           
 boolean isEnabled(Class<? extends javax.ws.rs.client.Feature> feature)
           
 boolean isProperty(String name)
           
 Configuration register(Class<?> providerClass)
           
 Configuration register(Object provider)
           
 Configuration setProperties(Map<String,? extends Object> properties)
           
 Configuration setProperty(String name, Object value)
           
 Configuration update(javax.ws.rs.client.Configuration configuration)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 Configuration update(javax.ws.rs.client.Configuration configuration)
Specified by:
update in interface javax.ws.rs.client.Configuration

register

public Configuration register(Class<?> providerClass)
Specified by:
register in interface javax.ws.rs.client.Configuration

register

public Configuration register(Object provider)
Specified by:
register in interface javax.ws.rs.client.Configuration

enable

public Configuration enable(Class<? extends javax.ws.rs.client.Feature> feature)
Specified by:
enable in interface javax.ws.rs.client.Configuration

enable

public Configuration enable(javax.ws.rs.client.Feature feature)
Specified by:
enable in interface javax.ws.rs.client.Configuration

disable

public Configuration disable(Class<? extends javax.ws.rs.client.Feature> feature)
Specified by:
disable in interface javax.ws.rs.client.Configuration

setProperties

public Configuration setProperties(Map<String,? extends Object> properties)
Specified by:
setProperties in interface javax.ws.rs.client.Configuration

setProperty

public Configuration 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.