public interface ItsNatUserData
Most of ItsNat objects implement this interface to help the user to reduce the work of wiring user data with ItsNat objects.
User data registry methods are synchronized if this object is a
ItsNatServletContext
, ItsNatServlet
, ItsNatServletConfig
,
ItsNatSession
, MarkupTemplate
or CometNotifier
otherwise are unsynchronized.
Modifier and Type | Method and Description |
---|---|
boolean |
containsUserValueName(java.lang.String name)
Informs whether the registry contains one pair name/value with the specified name.
|
java.lang.Object |
getUserValue(java.lang.String name)
Returns the value associated to the specified name.
|
java.lang.String[] |
getUserValueNames()
Returns all registered names.
|
java.lang.Object |
removeUserValue(java.lang.String name)
Removes the name/value registry with the specified name.
|
java.lang.Object |
setUserValue(java.lang.String name,
java.lang.Object value)
Sets a new value associated to the specified name.
|
boolean containsUserValueName(java.lang.String name)
name
- the name to look for.java.lang.Object getUserValue(java.lang.String name)
name
- the name to look for.java.lang.Object setUserValue(java.lang.String name, java.lang.Object value)
name
- the name used to register.value
- the value with the specified name.java.lang.Object removeUserValue(java.lang.String name)
name
- the name to look for.java.lang.String[] getUserValueNames()
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.