Update the instruction for running SPDY examples
This commit is contained in:
parent
8953f5a6cb
commit
b03074fe74
@ -45,9 +45,9 @@ import static java.util.concurrent.TimeUnit.*;
|
|||||||
* coordinates org.mortbay.jetty.npn:npn-boot. Different versions applies to different OpenJDK versions. See
|
* coordinates org.mortbay.jetty.npn:npn-boot. Different versions applies to different OpenJDK versions. See
|
||||||
* <a href="http://www.eclipse.org/jetty/documentation/current/npn-chapter.html">Jetty docs</a> for more information.
|
* <a href="http://www.eclipse.org/jetty/documentation/current/npn-chapter.html">Jetty docs</a> for more information.
|
||||||
* <p>
|
* <p>
|
||||||
* You may also use maven to start the client from the command line:
|
* You may also use the {@code run-example.sh} script to start the client from the command line:
|
||||||
* <pre>
|
* <pre>
|
||||||
* mvn exec:exec -Pspdy-client
|
* ./run-example spdy-client
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
public class SpdyClient {
|
public class SpdyClient {
|
||||||
|
@ -33,11 +33,13 @@
|
|||||||
* After that, you can run {@link io.netty.example.spdy.client.SpdyClient}, also settings the JVM parameter
|
* After that, you can run {@link io.netty.example.spdy.client.SpdyClient}, also settings the JVM parameter
|
||||||
* mentioned above.
|
* mentioned above.
|
||||||
* <p>
|
* <p>
|
||||||
* You may also use maven to start the server and the client from the command line:
|
* You may also use the {@code run-example.sh} script to start the server and the client from the command line:
|
||||||
* <pre>
|
* <pre>
|
||||||
* mvn exec:exec -Pspdy-server
|
* ./run-example spdy-server
|
||||||
* </pre>
|
* </pre>
|
||||||
* Then start the client in a different terminal window:
|
* Then start the client in a different terminal window:
|
||||||
* mvn exec:exec -Pspdy-client
|
* <pre>
|
||||||
|
* ./run-example spdy-client
|
||||||
|
* </pre>
|
||||||
*/
|
*/
|
||||||
package io.netty.example.spdy.client;
|
package io.netty.example.spdy.client;
|
||||||
|
@ -36,9 +36,9 @@ import java.util.Arrays;
|
|||||||
* See <a href="http://www.eclipse.org/jetty/documentation/current/npn-chapter.html">Jetty docs</a> for more
|
* See <a href="http://www.eclipse.org/jetty/documentation/current/npn-chapter.html">Jetty docs</a> for more
|
||||||
* information.
|
* information.
|
||||||
* <p>
|
* <p>
|
||||||
* You may also use maven to start the server from the command line:
|
* You may also use the {@code run-example.sh} script to start the server from the command line:
|
||||||
* <pre>
|
* <pre>
|
||||||
* mvn exec:exec -Pspdy-server
|
* ./run-example spdy-server
|
||||||
* </pre>
|
* </pre>
|
||||||
* <p>
|
* <p>
|
||||||
* Once started, you can test the server with your
|
* Once started, you can test the server with your
|
||||||
|
@ -28,9 +28,9 @@
|
|||||||
* See <a href="http://www.eclipse.org/jetty/documentation/current/npn-chapter.html">Jetty docs</a> for more
|
* See <a href="http://www.eclipse.org/jetty/documentation/current/npn-chapter.html">Jetty docs</a> for more
|
||||||
* information.
|
* information.
|
||||||
* <p>
|
* <p>
|
||||||
* You may also use maven to start the server from the command line:
|
* You may also use the {@code run-example.sh} script to start the server from the command line:
|
||||||
* <pre>
|
* <pre>
|
||||||
* mvn exec:exec -Pspdy-server
|
* ./run-example spdy-server
|
||||||
* </pre>
|
* </pre>
|
||||||
* <p>
|
* <p>
|
||||||
* Once started, you can test the server with your
|
* Once started, you can test the server with your
|
||||||
|
@ -44,5 +44,5 @@ fi
|
|||||||
|
|
||||||
cd "`dirname "$0"`"/example
|
cd "`dirname "$0"`"/example
|
||||||
echo "[INFO] Running: $EXAMPLE ($EXAMPLE_CLASS $EXAMPLE_ARGS)"
|
echo "[INFO] Running: $EXAMPLE ($EXAMPLE_CLASS $EXAMPLE_ARGS)"
|
||||||
exec mvn -X -nsu compile exec:exec -DargLine.example="$EXAMPLE_ARGS" -DexampleClass="$EXAMPLE_CLASS"
|
exec mvn -nsu compile exec:exec -DargLine.example="$EXAMPLE_ARGS" -DexampleClass="$EXAMPLE_CLASS"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user