AttributeMetadata contains the metadata of an attribute that is part of an
Http Session. When a container decides to save a session it passes an
instance of CompositeMetaData which contains a collection of
AttributeMetadata.
The attribute in question could have been deleted, or modified or could be a
new attribute inside the HttpSession. getOperation() tells exactly what
operation needs to be performed for this attribute
The attribute state/data itself can be obtained with getState(). Since an
attribute is part of a session, the attributes must be deleted when the
session is removed. The CompositeMetadata contains the last access time and
inactive timeout for the session. |