org.codehaus.wadi.impl
Class AbstractContext
java.lang.Object
org.codehaus.wadi.impl.SimpleEvictable
org.codehaus.wadi.impl.AbstractMotable
org.codehaus.wadi.impl.AbstractContext
- All Implemented Interfaces:
- Context, Evictable, Motable, Serializable, SerializableContent
- Direct Known Subclasses:
- StandardSession
- public abstract class AbstractContext
- extends AbstractMotable
- implements Context
TODO - JavaDoc this type
- Version:
- $Revision: 1200 $
- Author:
- Jules Gosnell
- See Also:
- Serialized Form
Methods inherited from class org.codehaus.wadi.impl.SimpleEvictable |
checkTimeframe, copy, getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, init, isNew, mote, setLastAccessedTime, setMaxInactiveInterval |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.wadi.Evictable |
checkTimeframe, copy, destroy, getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, init, isNew, mote, setLastAccessedTime, setMaxInactiveInterval |
_log
protected static Log _log
_lock
protected final RankedRWLock _lock
AbstractContext
public AbstractContext()
getSharedLock
public Sync getSharedLock()
- Specified by:
getSharedLock
in interface Context
getExclusiveLock
public Sync getExclusiveLock()
- Specified by:
getExclusiveLock
in interface Context
getBodyAsByteArray
public byte[] getBodyAsByteArray()
throws Exception
- Specified by:
getBodyAsByteArray
in interface Motable
- Throws:
Exception
setBodyAsByteArray
public void setBodyAsByteArray(byte[] bytes)
throws IOException,
ClassNotFoundException
- Specified by:
setBodyAsByteArray
in interface Motable
- Throws:
IOException
ClassNotFoundException
getBodyAsByteBuffer
public ByteBuffer getBodyAsByteBuffer()
throws Exception
- Specified by:
getBodyAsByteBuffer
in interface Motable
- Throws:
Exception
setBodyAsByteBuffer
public void setBodyAsByteBuffer(ByteBuffer body)
throws Exception
- Specified by:
setBodyAsByteBuffer
in interface Motable
- Throws:
Exception
Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.