|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jasig.portal.PortalSessionManager
public class PortalSessionManager
This is an entry point into the uPortal.
Field Summary | |
---|---|
private static boolean |
ALLOW_REPEATED_REQUESTS
|
private static boolean |
DEFAULT_ALLOW_REPEATED_REQUESTS
Default value for ALLOW_REPEATED_REQUESTS. |
private static java.lang.String |
DEFAULT_SAX_DRIVER
Default SAX driver name. |
private static boolean |
DEFAULT_URL_CACHING
Default value for whether to cache URLs. |
private static boolean |
fatalError
|
static java.lang.String |
IDEMPOTENT_URL_TAG
|
private static boolean |
initialized
|
static ErrorID |
initPortalContext
|
private static PortalSessionManager |
instance
|
static java.lang.String |
INTERNAL_TAG_VALUE
|
private static org.apache.commons.logging.Log |
log
|
private static java.util.Random |
randomGenerator
|
private static javax.servlet.ServletContext |
servletContext
|
static java.util.Date |
STARTED_AT
|
Constructor Summary | |
---|---|
PortalSessionManager()
|
Method Summary | |
---|---|
void |
destroy()
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Process HTTP GET request. |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Process HTTP POST request |
static PortalSessionManager |
getInstance()
Provides access to the servlet instance ultimately to provide access to the servlet context of the portal. |
static java.io.InputStream |
getResourceAsStream(java.lang.String resource)
Gets an input stream associated with the named resource. |
static java.net.URL |
getResourceAsURL(java.lang.String resource)
Gets a URL associated with the named resource. |
void |
init()
Initialize the PortalSessionManager servlet |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private static final boolean DEFAULT_ALLOW_REPEATED_REQUESTS
private static final boolean DEFAULT_URL_CACHING
private static final java.lang.String DEFAULT_SAX_DRIVER
public static final java.lang.String INTERNAL_TAG_VALUE
public static final java.lang.String IDEMPOTENT_URL_TAG
private static boolean initialized
private static javax.servlet.ServletContext servletContext
private static PortalSessionManager instance
private static boolean fatalError
public static final ErrorID initPortalContext
private static final boolean ALLOW_REPEATED_REQUESTS
private static final java.util.Random randomGenerator
public static java.util.Date STARTED_AT
Constructor Detail |
---|
public PortalSessionManager()
Method Detail |
---|
public static final PortalSessionManager getInstance()
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
doPost
in class javax.servlet.http.HttpServlet
req
- an incoming HttpServletRequest
valueres
- an outgoing HttpServletResponse
valuepublic void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
doGet
in class javax.servlet.http.HttpServlet
req
- an incoming HttpServletRequest
res
- an outgoing HttpServletResponse
public static java.net.URL getResourceAsURL(java.lang.String resource)
resource
- relative to the document root
public static java.io.InputStream getResourceAsStream(java.lang.String resource)
resource
- relative to the document root
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |