当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
AbstractSessionContext - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.server.app.impl
Class AbstractSessionContext
java.lang.Object
org.jboss.portal.server.app.impl.AbstractSessionContext
- All Implemented Interfaces:
- SessionContext
- public class AbstractSessionContext
- extends java.lang.Object
- implements SessionContext
Session provider implementation that uses the dispatched http request to give access
to the http session.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSessionContext
public AbstractSessionContext(ComponentRequest req)
getSession
public javax.servlet.http.HttpSession getSession(boolean create)
throws java.lang.IllegalStateException
- Specified by:
getSession
in interface SessionContext
- Throws:
java.lang.IllegalStateException
- when the dispatched request is not accessible
getRequestedSessionId
public java.lang.String getRequestedSessionId()
throws java.lang.IllegalStateException
- Specified by:
getRequestedSessionId
in interface SessionContext
- Throws:
java.lang.IllegalStateException
- when the dispatched request is not accessible
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()
throws java.lang.IllegalStateException
- Specified by:
isRequestedSessionIdValid
in interface SessionContext
- Throws:
java.lang.IllegalStateException
- when the dispatched request is not accessible