public class TransientWrapper extends Object
Constructor and Description |
---|
TransientWrapper(Object value)
Wrap an object.
|
Modifier and Type | Method and Description |
---|---|
static Object |
getAttribute(HttpSession session,
String name)
Gets the object bound with the specified name from an http session.
|
static void |
setAttribute(HttpSession session,
String name,
Object value)
Binds an object to a http session, using the name specified.
|
String |
toString() |
Object |
unwrap()
Unwrap a wrapped object
|
public TransientWrapper(Object value)
value
- public Object unwrap()
public static void setAttribute(HttpSession session, String name, Object value)
session
- a HTTPSession to bind the object to.name
- the name to which the object is bound; cannot be nullvalue
- the object to be boundpublic static Object getAttribute(HttpSession session, String name)
session
- a HTTPSession where the object is boundname
- a string specifying the name of the object@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.