cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: [CXF-5837] Updating MessageContextImpl to set cxf.io.cacheinput to FALSE
Date Fri, 04 Jul 2014 16:58:05 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes d41a1a123 -> 09c619e1f


[CXF-5837] Updating MessageContextImpl to set cxf.io.cacheinput to FALSE


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

Branch: refs/heads/2.7.x-fixes
Commit: 09c619e1faa82c8fe71840722f6009129bebd6e2
Parents: d41a1a1
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Jul 4 17:55:42 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Jul 4 17:57:46 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/09c619e1/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
index 4cf056a..80449f6 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
@@ -76,7 +76,7 @@ public class MessageContextImpl implements MessageContext {
             try {
                 return createAttachments(key.toString());
             } catch (CacheSizeExceededException e) {
-                m.getExchange().put("cxf.io.cacheinput", null);
+                m.getExchange().put("cxf.io.cacheinput", Boolean.FALSE);
                 throw new WebApplicationException(413);
             }
         }


Mime
View raw message