geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r918069 - /geronimo/server/branches/2.1/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java
Date Tue, 02 Mar 2010 15:13:37 GMT
Author: xuhaihong
Date: Tue Mar  2 15:13:37 2010
New Revision: 918069

URL: http://svn.apache.org/viewvc?rev=918069&view=rev
Log:
GERONIMO-5162 CXF adds a key mapping for WebServiceContext

Modified:
    geronimo/server/branches/2.1/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java

Modified: geronimo/server/branches/2.1/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java?rev=918069&r1=918068&r2=918069&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java
(original)
+++ geronimo/server/branches/2.1/plugins/cxf/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/GeronimoDestination.java
Tue Mar  2 15:13:37 2010
@@ -82,15 +82,15 @@
 
         final HttpServletRequest servletRequest = 
             (HttpServletRequest)request.getAttribute(WebServiceContainer.SERVLET_REQUEST);
-        message.put(MessageContext.SERVLET_REQUEST, servletRequest);
+        message.put("HTTP.REQUEST", servletRequest);
         
         HttpServletResponse servletResponse =
             (HttpServletResponse)request.getAttribute(WebServiceContainer.SERVLET_RESPONSE);
-        message.put(MessageContext.SERVLET_RESPONSE, servletResponse);
+        message.put("HTTP.RESPONSE", servletResponse);
         
         ServletContext servletContext = 
             (ServletContext)request.getAttribute(WebServiceContainer.SERVLET_CONTEXT);
-        message.put(MessageContext.SERVLET_CONTEXT, servletContext);
+        message.put("HTTP.CONTEXT", servletContext);
         
         if (this.passSecurityContext) {
             message.put(SecurityContext.class, new SecurityContext() {



Mime
View raw message