org.glassfish.jersey.client
Class JerseyConfiguration

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

public class JerseyConfiguration
extends java.lang.Object
implements Configuration, FeaturesAndProperties

Jersey implementation of JAX-RS client configuration contract.

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

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

Method Detail

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Specified by:
getProperties in interface Configuration
Specified by:
getProperties in interface FeaturesAndProperties

getProperty

public java.lang.Object getProperty(java.lang.String name)
Specified by:
getProperty in interface Configuration
Specified by:
getProperty in interface FeaturesAndProperties

isProperty

public boolean isProperty(java.lang.String name)
Specified by:
isProperty in interface FeaturesAndProperties

getFeatures

public java.util.Set<Feature> getFeatures()
Specified by:
getFeatures in interface Configuration

isEnabled

public boolean isEnabled(java.lang.Class<? extends Feature> feature)

getProviderClasses

public java.util.Set<java.lang.Class<?>> getProviderClasses()
Specified by:
getProviderClasses in interface Configuration

getProviderInstances

public java.util.Set<java.lang.Object> getProviderInstances()
Specified by:
getProviderInstances in interface Configuration

update

public JerseyConfiguration update(Configuration configuration)
Specified by:
update in interface Configuration

register

public JerseyConfiguration register(java.lang.Class<?> providerClass)
Specified by:
register in interface Configuration

register

public JerseyConfiguration register(java.lang.Object provider)
Specified by:
register in interface Configuration

setProperties

public JerseyConfiguration setProperties(java.util.Map<java.lang.String,? extends java.lang.Object> properties)
Specified by:
setProperties in interface Configuration

setProperty

public JerseyConfiguration setProperty(java.lang.String name,
                                       java.lang.Object value)
Specified by:
setProperty in interface Configuration

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.