org.apache.jetspeed.engine.servlet
Class NamespaceEncodedSession

java.lang.Object
  extended by org.apache.jetspeed.engine.servlet.HttpSessionWrapper
      extended by org.apache.jetspeed.engine.servlet.NamespaceEncodedSession
All Implemented Interfaces:
javax.servlet.http.HttpSession

public class NamespaceEncodedSession
extends HttpSessionWrapper

Author:
Scott T Weaver

Field Summary
private  HashSet mappedNames
           
private  JetspeedNamespaceMapper nameSpaceMapper
           
private  org.apache.pluto.om.common.ObjectID webAppId
           
 
Constructor Summary
NamespaceEncodedSession(javax.servlet.http.HttpSession session, org.apache.pluto.om.common.ObjectID webAppId)
           
 
Method Summary
 Object getAttribute(String name)
           
 Enumeration getAttributeNames()
           
 void removeAttribute(String name)
           
 void setAttribute(String name, Object value)
           setAttribute
private  boolean skipEncode(String name)
           
 
Methods inherited from class org.apache.jetspeed.engine.servlet.HttpSessionWrapper
equals, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, hashCode, invalidate, isNew, putValue, removeValue, setMaxInactiveInterval, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

nameSpaceMapper

private JetspeedNamespaceMapper nameSpaceMapper

webAppId

private org.apache.pluto.om.common.ObjectID webAppId

mappedNames

private HashSet mappedNames
Constructor Detail

NamespaceEncodedSession

public NamespaceEncodedSession(javax.servlet.http.HttpSession session,
                               org.apache.pluto.om.common.ObjectID webAppId)
Parameters:
session -
Method Detail

setAttribute

public void setAttribute(String name,
                         Object value)

setAttribute

Specified by:
setAttribute in interface javax.servlet.http.HttpSession
Overrides:
setAttribute in class HttpSessionWrapper
Parameters:
arg0 -
arg1 -
See Also:
ServletRequest.setAttribute(java.lang.String, java.lang.Object)

getAttribute

public Object getAttribute(String name)
Specified by:
getAttribute in interface javax.servlet.http.HttpSession
Overrides:
getAttribute in class HttpSessionWrapper
See Also:
ServletRequest.getAttribute(java.lang.String)

skipEncode

private boolean skipEncode(String name)

getAttributeNames

public Enumeration getAttributeNames()
Specified by:
getAttributeNames in interface javax.servlet.http.HttpSession
Overrides:
getAttributeNames in class HttpSessionWrapper

removeAttribute

public void removeAttribute(String name)
Specified by:
removeAttribute in interface javax.servlet.http.HttpSession
Overrides:
removeAttribute in class HttpSessionWrapper


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.