|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.util.TransientWrapper
public class TransientWrapper
Provides a means to exclude serializable objects from serialization mechanisms by wrapping them.
| Constructor Summary | |
|---|---|
TransientWrapper(Object value)
Wrap an object. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TransientWrapper(Object value)
value - | Method Detail |
|---|
public Object unwrap()
public String toString()
toString in class Object
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 bound
public static Object getAttribute(HttpSession session,
String name)
session - a HTTPSession where the object is boundname - a string specifying the name of the object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||