axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thil...@apache.org
Subject svn commit: r440633 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java
Date Wed, 06 Sep 2006 06:43:34 GMT
Author: thilina
Date: Tue Sep  5 23:43:33 2006
New Revision: 440633

URL: http://svn.apache.org/viewvc?view=rev&rev=440633
Log:
Preliminary support for SwA

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java?view=diff&rev=440633&r1=440632&r2=440633
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/context/MessageContext.java
Tue Sep  5 23:43:33 2006
@@ -51,6 +51,8 @@
     public static final String REMOTE_ADDR = "REMOTE_ADDR";
 
     public static final String TRANSPORT_HEADERS = "TRANSPORT_HEADERS";
+    
+    public Map attachmentsMap = new HashMap();
 
     /**
      * Field TRANSPORT_OUT
@@ -1021,5 +1023,15 @@
             return false;
         }
         return true;
+    }
+    
+    public void setAttachment(String contentID, Object dataHandler)
+    {
+    	attachmentsMap.put(contentID,dataHandler);
+    }
+    
+    public Object getAttachment(String contentID)
+    {
+    	return attachmentsMap.get(contentID);
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message