uPortal 2.4.1
API Documentation

org.jasig.portal
Class PortalSessionManager

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.jasig.portal.PortalSessionManager
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PortalSessionManager
extends javax.servlet.http.HttpServlet

This is an entry point into the uPortal.

Version:
$Revision: 1.97.2.2 $
Author:
Peter Kharchenko
See Also:
Serialized Form

Field Summary
static java.lang.String IDEMPOTENT_URL_TAG
           
static ErrorID initPortalContext
           
static java.lang.String INTERNAL_TAG_VALUE
           
 
Constructor Summary
PortalSessionManager()
           
 
Method Summary
 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
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERNAL_TAG_VALUE

public static final java.lang.String INTERNAL_TAG_VALUE

IDEMPOTENT_URL_TAG

public static final java.lang.String IDEMPOTENT_URL_TAG
See Also:
Constant Field Values

initPortalContext

public static final ErrorID initPortalContext
Constructor Detail

PortalSessionManager

public PortalSessionManager()
Method Detail

getInstance

public static final PortalSessionManager getInstance()
Provides access to the servlet instance ultimately to provide access to the servlet context of the portal.

Returns:
instance, the PortalSessionManager servlet instance

init

public void init()
          throws javax.servlet.ServletException
Initialize the PortalSessionManager servlet

Throws:
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)
Process HTTP POST request

Parameters:
req - an incoming HttpServletRequest value
res - an outgoing HttpServletResponse value

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
Process HTTP GET request.

Parameters:
req - an incoming HttpServletRequest
res - an outgoing HttpServletResponse

getResourceAsURL

public static java.net.URL getResourceAsURL(java.lang.String resource)
Gets a URL associated with the named resource. Call this to access files with paths relative to the document root. Paths should begin with a "/".

Parameters:
resource - relative to the document root
Returns:
a URL associated with the named resource or null if the URL isn't accessible

getResourceAsStream

public static java.io.InputStream getResourceAsStream(java.lang.String resource)
Gets an input stream associated with the named resource. Call this to access files with paths relative to the document root. Paths should begin with a "/".

Parameters:
resource - relative to the document root
Returns:
an input stream assosiated with the named resource

uPortal 2.4.1
API Documentation