HATS 7.5.1 Web API Reference

Publicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product.

com.ibm.hats.runtime
Interface ISession


public interface ISession

Represents a session for the application


Field Summary
static String COPYRIGHT
          The HATSCopyright.COPYRIGHT field will be updated each release, thereby "magically" updating this class file.
 
Method Summary
 Object getAttribute(String name)
          Retrieve the specified attribute.
 IContext getContext()
          Retrieve the context.
 String getId()
          Retrieve the identification name.
 void removeAttribute(String name)
          Remove the specified attribute.
 void setAttribute(String name, Object value)
          Set the specified attribute using the specified name.
 

Field Detail

COPYRIGHT

static final String COPYRIGHT
The HATSCopyright.COPYRIGHT field will be updated each release, thereby "magically" updating this class file.

See Also:
Constant Field Values
Method Detail

getId

String getId()
Retrieve the identification name.

Returns:
The identification name.

getContext

IContext getContext()
Retrieve the context.

Returns:
The context.

getAttribute

Object getAttribute(String name)
Retrieve the specified attribute.

Parameters:
name - The attribute name. This value cannot be null.
Returns:
The specified attribute as a Java Object.

setAttribute

void setAttribute(String name,
                  Object value)
Set the specified attribute using the specified name.

Parameters:
name - The attribute name. This value cannot be null.
value - The attribute value. This value cannot be null.

removeAttribute

void removeAttribute(String name)
Remove the specified attribute.

Parameters:
name - The name of the attribute to be removed. This value cannot be null.

HATS 7.5.1 (201005110649)