gov.noaa.pmel.tmap
Class TemplateSession

java.lang.Object
  |
  +--gov.noaa.pmel.tmap.TemplateSession

public class TemplateSession
extends java.lang.Object

Stores session scoped LAS info

Version:
$Version$
Author:
$Author: kobrien $

Field Summary
(package private)  HttpSession mHttpSession
           
(package private) static java.util.Hashtable mHttpSessionTable
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String s)
           
 java.util.Enumeration getAttributeNames()
           
 FormParameters getFormParameters(HttpServletRequest req)
           
 java.lang.String getId()
           
static TemplateSession getInstance(HttpSession session)
           
 SessionTemplateContext getSessionContext()
           
 SessionObject getSessionObject()
           
 java.lang.Object getValue(java.lang.String s)
           
 java.lang.String[] getValueNames()
           
 void invalidate()
           
 void putValue(java.lang.String s, java.lang.Object o)
           
 void removeAttribute(java.lang.String s)
           
 void removeValue(java.lang.String s)
           
 void setAttribute(java.lang.String s, java.lang.Object o)
           
 void storeFormParameters(HttpServletRequest req)
           
 void storeFormParameters(HttpServletRequest req, FormParameters params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mHttpSession

HttpSession mHttpSession

mHttpSessionTable

static java.util.Hashtable mHttpSessionTable
Method Detail

getInstance

public static TemplateSession getInstance(HttpSession session)
                                   throws javax.servlet.ServletException
javax.servlet.ServletException

getSessionObject

public SessionObject getSessionObject()

getSessionContext

public SessionTemplateContext getSessionContext()

getId

public java.lang.String getId()

getAttribute

public java.lang.Object getAttribute(java.lang.String s)

getValue

public java.lang.Object getValue(java.lang.String s)

getAttributeNames

public java.util.Enumeration getAttributeNames()

getValueNames

public java.lang.String[] getValueNames()

setAttribute

public void setAttribute(java.lang.String s,
                         java.lang.Object o)

putValue

public void putValue(java.lang.String s,
                     java.lang.Object o)

removeAttribute

public void removeAttribute(java.lang.String s)

removeValue

public void removeValue(java.lang.String s)

invalidate

public void invalidate()

storeFormParameters

public void storeFormParameters(HttpServletRequest req)

storeFormParameters

public void storeFormParameters(HttpServletRequest req,
                                FormParameters params)

getFormParameters

public FormParameters getFormParameters(HttpServletRequest req)