From aa36f446f5b254e0a52fd0c74e04fa67218ff530 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 17 Feb 2009 10:07:25 +0000 Subject: [PATCH] Forgot to commit --- ...elClientExample.java => HttpTunnelingClientExample.java} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/main/java/org/jboss/netty/example/http/{HttpTunnelClientExample.java => HttpTunnelingClientExample.java} (94%) diff --git a/src/main/java/org/jboss/netty/example/http/HttpTunnelClientExample.java b/src/main/java/org/jboss/netty/example/http/HttpTunnelingClientExample.java similarity index 94% rename from src/main/java/org/jboss/netty/example/http/HttpTunnelClientExample.java rename to src/main/java/org/jboss/netty/example/http/HttpTunnelingClientExample.java index 69fc8829ac..b8805450aa 100644 --- a/src/main/java/org/jboss/netty/example/http/HttpTunnelClientExample.java +++ b/src/main/java/org/jboss/netty/example/http/HttpTunnelingClientExample.java @@ -32,7 +32,7 @@ import org.jboss.netty.channel.ChannelFuture; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ChannelPipelineCoverage; import org.jboss.netty.channel.socket.http.HttpTunnelAddress; -import org.jboss.netty.channel.socket.http.HttpTunnelClientSocketChannelFactory; +import org.jboss.netty.channel.socket.http.HttpTunnelingClientSocketChannelFactory; import org.jboss.netty.channel.socket.oio.OioClientSocketChannelFactory; import org.jboss.netty.handler.codec.oneone.OneToOneDecoder; import org.jboss.netty.handler.codec.string.StringDecoder; @@ -84,7 +84,7 @@ import org.jboss.netty.handler.codec.string.StringEncoder; * @author Andy Taylor */ -public class HttpTunnelClientExample { +public class HttpTunnelingClientExample { public static void main(String[] args) throws Exception { if (args.length != 1) { System.err.println( @@ -102,7 +102,7 @@ public class HttpTunnelClientExample { System.err.println("Only HTTP is supported."); return; } - HttpTunnelClientSocketChannelFactory factory = new HttpTunnelClientSocketChannelFactory(new OioClientSocketChannelFactory(Executors.newCachedThreadPool()), Executors.newCachedThreadPool()); + HttpTunnelingClientSocketChannelFactory factory = new HttpTunnelingClientSocketChannelFactory(new OioClientSocketChannelFactory(Executors.newCachedThreadPool()), Executors.newCachedThreadPool()); ClientBootstrap bootstrap = new ClientBootstrap(factory); bootstrap.getPipeline().addLast("decoder", new StringDecoder()); bootstrap.getPipeline().addLast("encoder", new StringEncoder());