|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Attributes
This is an Attributes
object which is used to convey
attributes for a given connection. This is used to describe any
specific attributes that a connection may have, for example any
security policy for HTTPS. The Attributes
provide a
subset of the methods provided by the Map
object.
Method Summary | |
---|---|
boolean |
contains(java.lang.String name)
The contains method is used to determine if
a mapping exists for the given name. |
java.lang.Object |
get(java.lang.String name)
The get method is used to retrieve the value
mapped to the specified name. |
java.util.Set |
keySet()
To ascertain what mappings exist, the names of all values previously put into this attributes can be retrieved with this method. |
void |
put(java.lang.String name,
java.lang.Object value)
The put method is used to insert a mapping to
the attributes that pairs the issued name with the issued
value. |
void |
remove(java.lang.String name)
The remove method is used to remove the
named value from the attributes. |
Method Detail |
---|
void put(java.lang.String name, java.lang.Object value)
put
method is used to insert a mapping to
the attributes that pairs the issued name with the issued
value. The value can be referenced in future by its name.
name
- this is the name of the value being insertedvalue
- this is the named value that is insertedjava.lang.Object get(java.lang.String name)
get
method is used to retrieve the value
mapped to the specified name. If a value does not exist
matching the given name, then this returns null.
name
- this is the name of the value to be retrieved
void remove(java.lang.String name)
remove
method is used to remove the
named value from the attributes. This method will remove
the value or returns silently if the name does not exits.
name
- this is the name of the value to be removedjava.util.Set keySet()
Set
that
contains the names of all the mappings added to this.
boolean contains(java.lang.String name)
contains
method is used to determine if
a mapping exists for the given name. This returns true if
the mapping exists or false otherwise.
name
- this is the name of the mapping to determine
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |