cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: making it possible to disable the input validation via JAXBProvider property
Date Fri, 04 Apr 2014 21:12:30 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 0213b0001 -> 83f8e8cba


making it possible to disable the input validation via JAXBProvider property


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

Branch: refs/heads/master
Commit: 83f8e8cbaef8bea2aace30d9fdf372eb064d2c5e
Parents: 0213b00
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Apr 4 22:12:12 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Apr 4 22:12:12 2014 +0100

----------------------------------------------------------------------
 .../java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/83f8e8cb/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java
index 5603ddf..da1dce8 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AbstractJAXBProvider.java
@@ -837,6 +837,9 @@ public abstract class AbstractJAXBProvider<T> extends AbstractConfigurableProvid
     public void setValidateOutput(boolean validateOutput) {
         this.validateOutputIfPossible = validateOutput;
     }
+    public void setValidateInput(boolean validateInput) {
+        this.validateInputIfPossible = validateInput;
+    }
 
     public void setDepthProperties(DocumentDepthProperties depthProperties) {
         this.depthProperties = depthProperties;


Mime
View raw message