|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.opensuit.core.session.OpenSuitSession
public abstract class OpenSuitSession
This class gives access to user session in open SUIT.
Main notions managed by the open SUIT session are:
Field Summary | |
---|---|
protected static java.lang.ThreadLocal<org.ow2.opensuit.xml.base.Application> |
CURRENT_APP
|
protected static java.lang.ThreadLocal<javax.servlet.http.HttpServletRequest> |
CURRENT_REQ
|
protected static java.lang.ThreadLocal<javax.servlet.http.HttpServletResponse> |
CURRENT_RESP
|
Constructor Summary | |
---|---|
OpenSuitSession()
|
Method Summary | |
---|---|
abstract java.lang.Object |
getAttribute(java.lang.String iName)
|
abstract java.util.Set<java.lang.String> |
getAttributeNames()
|
static org.ow2.opensuit.xml.base.Application |
getCurrentApplication()
Returns the current Open Suit Application. |
abstract PageContext |
getCurrentPageContext()
Returns the current page context. |
static javax.servlet.http.HttpServletRequest |
getCurrentRequest()
Returns the current http request. |
static javax.servlet.http.HttpServletResponse |
getCurrentResponse()
Returns the current http response. |
static OpenSuitSession |
getCurrentSession()
Returns the current Open Suit Session. |
abstract java.util.Locale |
getLocale()
Returns the current user's locale. |
abstract ILocaleConfig |
getLocaleConfig()
Returns the current user's locale configuration. |
static OpenSuitSession |
getSession(javax.servlet.http.HttpServletRequest iRequest)
Returns the user's open SUIT session associated to the given http request. |
abstract void |
removeAttribute(java.lang.String iName)
|
abstract void |
setAttribute(java.lang.String iName,
java.lang.Object iValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.ThreadLocal<org.ow2.opensuit.xml.base.Application> CURRENT_APP
protected static final java.lang.ThreadLocal<javax.servlet.http.HttpServletRequest> CURRENT_REQ
protected static final java.lang.ThreadLocal<javax.servlet.http.HttpServletResponse> CURRENT_RESP
Constructor Detail |
---|
public OpenSuitSession()
Method Detail |
---|
public static javax.servlet.http.HttpServletRequest getCurrentRequest()
public static javax.servlet.http.HttpServletResponse getCurrentResponse()
public static org.ow2.opensuit.xml.base.Application getCurrentApplication()
public static OpenSuitSession getCurrentSession()
public static OpenSuitSession getSession(javax.servlet.http.HttpServletRequest iRequest)
iRequest
- The current http request.public abstract java.util.Locale getLocale()
public abstract ILocaleConfig getLocaleConfig()
public abstract void setAttribute(java.lang.String iName, java.lang.Object iValue)
public abstract java.lang.Object getAttribute(java.lang.String iName)
public abstract void removeAttribute(java.lang.String iName)
public abstract java.util.Set<java.lang.String> getAttributeNames()
public abstract PageContext getCurrentPageContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |