camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-10560, added getSubmittedFileName() into PartDataSource to retrieve file name specified by the client
Date Tue, 06 Dec 2016 08:55:10 GMT
Repository: camel
Updated Branches:
  refs/heads/master bc4dc0562 -> 5a3618757


CAMEL-10560, added getSubmittedFileName() into PartDataSource to retrieve file name specified
by the client


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

Branch: refs/heads/master
Commit: 5a36187575f60ee0d8e45d6fc20e57e4516a74cc
Parents: bc4dc05
Author: Fabrizio Spataro <fabrizio.spataro@bizmate.it>
Authored: Mon Dec 5 17:42:38 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Dec 6 09:52:19 2016 +0100

----------------------------------------------------------------------
 .../apache/camel/component/servlet/AttachmentHttpBinding.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5a361875/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java
b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java
index d84a271..f9598fd 100644
--- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java
+++ b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java
@@ -66,6 +66,10 @@ final class AttachmentHttpBinding extends DefaultHttpBinding {
             this.part = part;
         }
 
+        public String getSubmittedFileName() {
+            return part.getSubmittedFileName();
+        }
+
         @Override
         public OutputStream getOutputStream() throws IOException {
             return null;
@@ -86,4 +90,4 @@ final class AttachmentHttpBinding extends DefaultHttpBinding {
             return part.getContentType();
         }
     }
-}
\ No newline at end of file
+}


Mime
View raw message