camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r771649 - in /camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty: CamelContinuationServlet.java JettyHttpComponent.java
Date Tue, 05 May 2009 10:03:36 GMT
Author: davsclaus
Date: Tue May  5 10:03:36 2009
New Revision: 771649

URL: http://svn.apache.org/viewvc?rev=771649&view=rev
Log:
CAMEL-1572: API cleanup.

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

Modified: camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/CamelContinuationServlet.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/CamelContinuationServlet.java?rev=771649&r1=771648&r2=771649&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/CamelContinuationServlet.java
(original)
+++ camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/CamelContinuationServlet.java
Tue May  5 10:03:36 2009
@@ -34,9 +34,10 @@
  */
 public class CamelContinuationServlet extends CamelServlet {
 
+    // TODO: should use the new Async API and allow end users to define if they want Jetty
continuation support or not
+
     private static final long serialVersionUID = 1L;
 
-     
     public CamelContinuationServlet(boolean matchOnUriPrefix) {
         super(matchOnUriPrefix);
     }

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=771649&r1=771648&r2=771649&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
Tue May  5 10:03:36 2009
@@ -249,8 +249,8 @@
     }
 
     protected CamelServlet createServletForConnector(Connector connector) throws Exception
{
-        CamelServlet camelServlet = new CamelContinuationServlet(isMatchOnUriPrefix());
-        
+        CamelServlet camelServlet = new CamelServlet(isMatchOnUriPrefix());
+
         Context context = new Context(server, "/", Context.NO_SECURITY | Context.NO_SESSIONS);
         context.setConnectorNames(new String[] {connector.getName()});
 



Mime
View raw message