camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r953555 - in /camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty: JettyHttpComponent.java JettyHttpEndpoint.java
Date Fri, 11 Jun 2010 04:05:33 GMT
Author: ningjiang
Date: Fri Jun 11 04:05:33 2010
New Revision: 953555

URL: http://svn.apache.org/viewvc?rev=953555&view=rev
Log:
Revert the change of JettyHttpEndpoint and JettyHttpComponent, as we don't need that

Modified:
    camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
    camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java

Modified: camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java?rev=953555&r1=953554&r2=953555&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
(original)
+++ camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
Fri Jun 11 04:05:33 2010
@@ -193,12 +193,6 @@ public class JettyHttpComponent extends 
                 }
                 connector.setPort(endpoint.getPort());
                 connector.setHost(endpoint.getHttpUri().getHost());
-                if (endpoint.getRequestBufferSize() > 0) {
-                    connector.setRequestBufferSize(endpoint.getRequestBufferSize());
-                }
-                if (endpoint.getResponseBufferSize() > 0) {
-                    connector.setResponseBufferSize(endpoint.getResponseBufferSize());
-                }
                 if ("localhost".equalsIgnoreCase(endpoint.getHttpUri().getHost())) {
                     LOG.warn("You use localhost interface! It means that no external connections
will be available."
                             + " Don't you want to use 0.0.0.0 instead (all network interfaces)?
" + endpoint);

Modified: camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java?rev=953555&r1=953554&r2=953555&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java
(original)
+++ camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpEndpoint.java
Fri Jun 11 04:05:33 2010
@@ -38,8 +38,6 @@ public class JettyHttpEndpoint extends H
     private HttpClient client;
     private JettyHttpBinding jettyBinding;
     private boolean enableJmx;
-    private int requestBufferSize;
-    private int responseBufferSize;
 
     public JettyHttpEndpoint(JettyHttpComponent component, String uri, URI httpURL) throws
URISyntaxException {
         super(uri, component, httpURL);
@@ -69,23 +67,7 @@ public class JettyHttpEndpoint extends H
     public boolean isSessionSupport() {
         return sessionSupport;
     }
-    
-    public void setRequestBufferSize(int bufferSize) {
-        requestBufferSize = bufferSize;
-    }
-    
-    public int getRequestBufferSize() {
-        return requestBufferSize;
-    }
-    
-    public void setResponseBufferSize(int bufferSize) {
-        responseBufferSize = bufferSize;
-    }
-    
-    public int getResponseBufferSize() {
-        return responseBufferSize;
-    }
-
+   
     public List<Handler> getHandlers() {
         return handlers;
     }



Mime
View raw message