diff --git a/example/pom.xml b/example/pom.xml
index 8d5c7373a2..d0b20d3596 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -90,5 +90,230 @@
+ * You may also use maven to start the client from the command line: + *
+ * mvn exec:exec -Pspdy-client + **/ public class SpdyClient { diff --git a/example/src/main/java/io/netty/example/spdy/client/package-info.java b/example/src/main/java/io/netty/example/spdy/client/package-info.java index d2984da255..c9e8d44fec 100644 --- a/example/src/main/java/io/netty/example/spdy/client/package-info.java +++ b/example/src/main/java/io/netty/example/spdy/client/package-info.java @@ -32,5 +32,12 @@ *
* After that, you can run {@link io.netty.example.spdy.client.SpdyClient}, also settings the JVM parameter * mentioned above. + *
+ * You may also use maven to start the server and the client from the command line: + *
+ * mvn exec:exec -Pspdy-server + *+ * Then start the client in a different terminal window: + * mvn exec:exec -Pspdy-client */ package io.netty.example.spdy.client; diff --git a/example/src/main/java/io/netty/example/spdy/server/SpdyServer.java b/example/src/main/java/io/netty/example/spdy/server/SpdyServer.java index 45bab88c0c..abf1be2bb5 100644 --- a/example/src/main/java/io/netty/example/spdy/server/SpdyServer.java +++ b/example/src/main/java/io/netty/example/spdy/server/SpdyServer.java @@ -31,6 +31,11 @@ import io.netty.channel.socket.nio.NioServerSocketChannel; * See Jetty docs for more * information. *
+ * You may also use maven to start the server from the command line: + *
+ * mvn exec:exec -Pspdy-server + *+ *
* Once started, you can test the server with your * SPDY enabled web browser by navigating * to https://localhost:8443/ diff --git a/example/src/main/java/io/netty/example/spdy/server/package-info.java b/example/src/main/java/io/netty/example/spdy/server/package-info.java index a5ba39dd74..ece1e7c9c7 100644 --- a/example/src/main/java/io/netty/example/spdy/server/package-info.java +++ b/example/src/main/java/io/netty/example/spdy/server/package-info.java @@ -28,6 +28,11 @@ * See Jetty docs for more * information. *
+ * You may also use maven to start the server from the command line: + *
+ * mvn exec:exec -Pspdy-server + *+ *
* Once started, you can test the server with your * SPDY enabled web browser by navigating * to https://localhost:8443/