cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6106] Fixing ClientResponseFilterInterceptor initialization of the request context, thanks to Dmitry Kozlov
Date Sun, 16 Nov 2014 21:38:59 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 5d53df8d2 -> db389bb01


[CXF-6106] Fixing ClientResponseFilterInterceptor initialization of the request context, thanks
to Dmitry Kozlov


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/db389bb0
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/db389bb0
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/db389bb0

Branch: refs/heads/2.7.x-fixes
Commit: db389bb0195674ba8765352b7ed067bb37d1b122
Parents: 5d53df8
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Sun Nov 16 22:35:26 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Sun Nov 16 22:38:39 2014 +0100

----------------------------------------------------------------------
 .../cxf/jaxrs/client/spec/ClientResponseFilterInterceptor.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/db389bb0/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseFilterInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseFilterInterceptor.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseFilterInterceptor.java
index d96bd2b..826e753 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseFilterInterceptor.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientResponseFilterInterceptor.java
@@ -52,7 +52,7 @@ public class ClientResponseFilterInterceptor extends AbstractInDatabindingInterc
         
         List<ProviderInfo<ClientResponseFilter>> filters = pf.getClientResponseFilters();
         if (!filters.isEmpty()) {
-            ClientRequestContext reqContext = new ClientRequestContextImpl(inMessage.getExchange().getInMessage(),
+            ClientRequestContext reqContext = new ClientRequestContextImpl(inMessage.getExchange().getOutMessage(),
                                                                         true);
             
             ClientResponseContext respContext = new ClientResponseContextImpl(getResponse(inMessage),



Mime
View raw message