camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r907988 - /camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpConverter.java
Date Tue, 09 Feb 2010 10:08:13 GMT
Author: ningjiang
Date: Tue Feb  9 10:08:12 2010
New Revision: 907988

URL: http://svn.apache.org/viewvc?rev=907988&view=rev
Log:
CAMEL-2453 revert part changes of HttpConverter which introduced conflicts to the camel core
converters

Modified:
    camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpConverter.java

Modified: camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpConverter.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpConverter.java?rev=907988&r1=907987&r2=907988&view=diff
==============================================================================
--- camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpConverter.java
(original)
+++ camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpConverter.java
Tue Feb  9 10:08:12 2010
@@ -60,7 +60,7 @@
     
 
     @Converter
-    public static ServletInputStream toServletInputStream(Message message) throws IOException
{
+    public static ServletInputStream toServletInputStream(HttpMessage message) throws IOException
{
         HttpServletRequest request = toServletRequest(message);
         if (request != null) {
             return request.getInputStream();
@@ -69,12 +69,12 @@
     }
 
     @Converter
-    public static InputStream toInputStream(Message message) throws Exception {
+    public static InputStream toInputStream(HttpMessage message) throws Exception {
         return toInputStream(toServletRequest(message));
     }
 
     @Converter
-    public static BufferedReader toReader(Message message) throws IOException {
+    public static BufferedReader toReader(HttpMessage message) throws IOException {
         HttpServletRequest request = toServletRequest(message);
         if (request != null) {
             return request.getReader();



Mime
View raw message