|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQSession
Provides a way to identify a user across more than one page request or visit to a Web site and to store information about that user.
Method Summary | |
---|---|
Object |
getAttribute(String name)
Returns the object bound with the specified name in this session, or null if no object is bound under the name. |
DateFormat |
getDateFormat()
Obtains DateFormat for formatting date objects. |
DateFormat |
getDateTimeFormat()
Obtains DateFormat for formatting date-time objects. |
String |
getId()
Returns a string containing the unique identifier assigned to this session. |
Locale |
getLocale()
Returns the session locale. |
NumberFormat |
getNumberFormat()
Obtains DecimalFormat for formatting numbers. |
DateFormat |
getTimeFormat()
Obtains DateFormat for formatting time objects. |
void |
invalidate()
Invalidates this session and unbinds any objects bound to it. |
void |
removeAttribute(String name)
Removes the object bound with the specified name from this session. |
void |
setAttribute(String name,
Object value)
Binds an object to this session, using the name specified. |
Method Detail |
---|
Object getAttribute(String name)
name
- Object name.void setAttribute(String name, Object value)
name
- Object name.value
- Object value.void removeAttribute(String name)
name
- Object name.String getId()
void invalidate()
Locale getLocale()
DateFormat getDateTimeFormat()
DateFormat
for formatting date-time objects.
DateFormat getDateFormat()
DateFormat
for formatting date objects.
DateFormat getTimeFormat()
DateFormat
for formatting time objects.
NumberFormat getNumberFormat()
DecimalFormat
for formatting numbers.
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |