|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.coherence.servlet.AbstractHttpSessionModel
com.tangosol.coherence.servlet.TraditionalHttpSessionModel
public class TraditionalHttpSessionModel
An implementation of HttpSessionModel that is managed as a single unit, but optimizes the management of individual attributes within a session for purposes of serialization and deserialization. This is how HttpSession objects have 'traditionally' been implemented, hence the name.
| Nested Class Summary | |
|---|---|
class |
TraditionalHttpSessionModel.OptimizedHolderAn immutable object to hold attribute values and related information. |
| Nested classes/interfaces inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionModel |
|---|
AbstractHttpSessionModel.AttributeHolder |
| Field Summary |
|---|
| Fields inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionModel |
|---|
ENTRY_ARRAY, MAGIC_V350, STRING_ARRAY |
| Constructor Summary | |
|---|---|
TraditionalHttpSessionModel()Default constructor for deserialization. |
|
TraditionalHttpSessionModel(TraditionalHttpSessionCollection collection, javax.servlet.http.HttpSession session, java.lang.String sId)Session creation constructor. |
|
| Method Summary | |
|---|---|
protected AbstractHttpSessionModel.AttributeHolder |
instantiateAttributeHolder()Factory method: Instantiate an AttributeHolder for deserialization purposes. |
protected AbstractHttpSessionModel.AttributeHolder |
instantiateAttributeHolder(java.lang.String sName, java.lang.Object oValue)Factory method: Instantiate an AttributeHolder to manage the passed value. |
java.lang.String |
toString()Returns a string representation of the object. |
| Constructor Detail |
|---|
public TraditionalHttpSessionModel()
public TraditionalHttpSessionModel(TraditionalHttpSessionCollection collection,
javax.servlet.http.HttpSession session,
java.lang.String sId)
collection - the collection that manages this modelsession - the session that delegates to this modelsId - the session ID| Method Detail |
|---|
public java.lang.String toString()
toString in class AbstractHttpSessionModelprotected AbstractHttpSessionModel.AttributeHolder instantiateAttributeHolder()
instantiateAttributeHolder in class AbstractHttpSessionModel
protected AbstractHttpSessionModel.AttributeHolder instantiateAttributeHolder(java.lang.String sName,
java.lang.Object oValue)
instantiateAttributeHolder in class AbstractHttpSessionModelsName - the attribute nameoValue - a non-null Object value
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||