cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1476165 - in /cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec: ClientRequestContextImpl.java ClientResponseContextImpl.java
Date Fri, 26 Apr 2013 12:20:46 GMT
Author: sergeyb
Date: Fri Apr 26 12:20:45 2013
New Revision: 1476165

URL: http://svn.apache.org/r1476165
Log:
[CXF-4986] Forgot to commit the updates to the client filters

Modified:
    cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientRequestContextImpl.java
    cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseContextImpl.java

Modified: cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientRequestContextImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientRequestContextImpl.java?rev=1476165&r1=1476164&r2=1476165&view=diff
==============================================================================
--- cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientRequestContextImpl.java
(original)
+++ cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientRequestContextImpl.java
Fri Apr 26 12:20:45 2013
@@ -160,7 +160,7 @@ public class ClientRequestContextImpl ex
     public MultivaluedMap<String, Object> getHeaders() {
         h = null;
         return new MetadataMap<String, Object>(
-            (Map<String, List<Object>>)m.get(Message.PROTOCOL_HEADERS), false,
true, true);    
+            (Map<String, List<Object>>)m.get(Message.PROTOCOL_HEADERS), false,
false, true);    
 
     }
 

Modified: cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseContextImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseContextImpl.java?rev=1476165&r1=1476164&r2=1476165&view=diff
==============================================================================
--- cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseContextImpl.java
(original)
+++ cxf/trunk/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseContextImpl.java
Fri Apr 26 12:20:45 2013
@@ -47,7 +47,7 @@ public class ClientResponseContextImpl e
     public MultivaluedMap<String, String> getHeaders() {
         Object headers = m.get(Message.PROTOCOL_HEADERS);
         if (headers != null) {
-            return new MetadataMap<String, String>((Map<String, List<String>>)headers,
false, true, true);
+            return new MetadataMap<String, String>((Map<String, List<String>>)headers,
false, false, true);
         }
         return (MultivaluedMap<String, String>)(MultivaluedMap<?, ?>)r.getHeaders();
     }



Mime
View raw message