axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/transport/http AxisHttpSession.java
Date Tue, 12 Jun 2001 22:29:51 GMT
gdaniels    01/06/12 15:29:51

  Modified:    java/src/org/apache/axis/transport/http AxisHttpSession.java
  Log:
  Whoops - still had an unsaved version in my editor.
  
  Revision  Changes    Path
  1.2       +11 -1     xml-axis/java/src/org/apache/axis/transport/http/AxisHttpSession.java
  
  Index: AxisHttpSession.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisHttpSession.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AxisHttpSession.java	2001/06/12 22:26:09	1.1
  +++ AxisHttpSession.java	2001/06/12 22:29:49	1.2
  @@ -55,6 +55,7 @@
   
   package org.apache.axis.transport.http;
   
  +import org.apache.axis.session.Session;
   import javax.servlet.http.HttpSession;
   
   /**
  @@ -62,7 +63,7 @@
    * 
    * @author Glen Daniels (gdaniels@macromedia.com)
    */
  -public class AxisHttpSession
  +public class AxisHttpSession implements Session
   {
       private HttpSession rep;
       
  @@ -97,6 +98,15 @@
       public void put(String key, Object value)
       {
           rep.setAttribute(key, value);
  +    }
  +    
  +    /** Remove a property from the session
  +     * 
  +     * @param key the name of the property desired.
  +     */
  +    public void remove(String key)
  +    {
  +        rep.removeAttribute(key);
       }
       
       /** Set the session's time-to-live.
  
  
  

Mime
View raw message