axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r158872 - webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java
Date Thu, 24 Mar 2005 03:16:03 GMT
Author: chathura
Date: Wed Mar 23 19:16:02 2005
New Revision: 158872

URL: http://svn.apache.org/viewcvs?view=rev&rev=158872
Log:
Added a new constructor for the MessageContext to build the MessageContext for the out path

Modified:
    webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java

Modified: webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java?view=diff&r1=158871&r2=158872
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java
Wed Mar 23 19:16:02 2005
@@ -175,6 +175,21 @@
     
     private boolean paused = false;
     
+    
+    
+    public MessageContext(MessageContext oldMessageContext) throws AxisFault {
+        this(	oldMessageContext.getGlobalContext().getRegistry(), 
+                oldMessageContext.getProperties(), 
+                oldMessageContext.getSessionContext(), 
+                oldMessageContext.getTransportIn(), 
+                oldMessageContext.getTransportOut());
+        this.messageInformationHeaders = oldMessageContext.getMessageInformationHeaders();
+        this.serverSide = oldMessageContext.isServerSide();
+        this.service = oldMessageContext.getService();
+        
+    }
+    
+    
 
     /**
      * @param er            registry



Mime
View raw message