org.glassfish.jersey
Interface FeaturesAndProperties


public interface FeaturesAndProperties

Provides access to properties and features.

Author:
Pavel Bucek (pavel.bucek at oracle.com)

Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
          Get the immutable property map.
 java.lang.Object getProperty(java.lang.String name)
          Get the value of the property with a given name.
 boolean isProperty(java.lang.String name)
          Get the value of the property with a given name converted to Java boolean type.
 

Method Detail

getProperty

java.lang.Object getProperty(java.lang.String name)
Get the value of the property with a given name.

Parameters:
name - property name.
Returns:
property value.

isProperty

boolean isProperty(java.lang.String name)
Get the value of the property with a given name converted to Java boolean type. Returns false if the value is not convertible.

Parameters:
name - property name.
Returns:
boolean property value or false if the property is not convertible.

getProperties

java.util.Map<java.lang.String,java.lang.Object> getProperties()
Get the immutable property map.

Returns:
immutable map of properties.


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