hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r365332 - /jakarta/httpcomponents/trunk/http-core/src/examples/org/apache/http/examples/ElementalHttpServer.java
Date Mon, 02 Jan 2006 10:57:41 GMT
Author: olegk
Date: Mon Jan  2 02:57:36 2006
New Revision: 365332

URL: http://svn.apache.org/viewcvs?rev=365332&view=rev
Log:
Minor cleanup

Modified:
    jakarta/httpcomponents/trunk/http-core/src/examples/org/apache/http/examples/ElementalHttpServer.java

Modified: jakarta/httpcomponents/trunk/http-core/src/examples/org/apache/http/examples/ElementalHttpServer.java
URL: http://svn.apache.org/viewcvs/jakarta/httpcomponents/trunk/http-core/src/examples/org/apache/http/examples/ElementalHttpServer.java?rev=365332&r1=365331&r2=365332&view=diff
==============================================================================
--- jakarta/httpcomponents/trunk/http-core/src/examples/org/apache/http/examples/ElementalHttpServer.java
(original)
+++ jakarta/httpcomponents/trunk/http-core/src/examples/org/apache/http/examples/ElementalHttpServer.java
Mon Jan  2 02:57:36 2006
@@ -205,9 +205,9 @@
                 
     }
     
-    static class EchoServiceHandler implements ServiceHandler{
+    static class FileServiceHandler implements ServiceHandler{
         
-        public EchoServiceHandler() {
+        public FileServiceHandler() {
             super();
         }
         
@@ -268,7 +268,7 @@
                     processor.addResponseInterceptor(new ResponseDate());
                     processor.addResponseInterceptor(new ResponseServer());             
      
                     processor.setParams(this.params);
-                    Thread t = new ConnectionProcessorThread(processor, new EchoServiceHandler());
+                    Thread t = new ConnectionProcessorThread(processor, new FileServiceHandler());
                     t.setDaemon(true);
                     t.start();
                 } catch (InterruptedIOException ex) {



Mime
View raw message