public class RequestScope extends AbstractScope implements IRequestScope
m_aRWLock| Constructor and Description |
|---|
RequestScope(String sScopeID,
String sSessionID) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getSessionID(boolean bCreateIfNotExisting) |
int |
hashCode() |
void |
initScope()
Init the scope.
|
protected void |
postDestroy()
Override this method to perform further actions AFTER the scope was
destroyed.
|
protected void |
preDestroy()
Override this method to perform further actions BEFORE the scope is
destroyed.
|
String |
toString() |
attrs, destroyScope, getID, isDestroyed, isInDestruction, isInPreDestruction, isValid, runAtomic, runAtomicclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSessionIDattrs, destroyScope, getAllScopeRenewalAwareAttributes, getID, isDestroyed, isInDestruction, isValid, runAtomic, runAtomic@Nonnull @Nonempty public final String getSessionID(boolean bCreateIfNotExisting)
getSessionID in interface IRequestScopebCreateIfNotExisting - if true a session ID is created if needednull if no session ID is present and no session should
be created.public void initScope()
IScopeprotected void preDestroy()
AbstractScopepreDestroy in class AbstractScopeprotected void postDestroy()
AbstractScopepostDestroy in class AbstractScopepublic boolean equals(Object o)
equals in class AbstractScopepublic int hashCode()
hashCode in class AbstractScopepublic String toString()
toString in class AbstractScopeCopyright © 2016–2019 Philip Helger. All rights reserved.