public final class SpdyClient
extends java.lang.Object
This class must be run with the JVM parameter: java -Xbootclasspath/p:<path_to_npn_boot_jar> ...
. The
"path_to_npn_boot_jar" is the path on the file system for the NPN Boot Jar file which can be downloaded from Maven at
coordinates org.mortbay.jetty.npn:npn-boot. Different versions applies to different OpenJDK versions. See
Jetty docs for more information.
You may also use the run-example.sh
script to start the client from the command line:
./run-example.sh spdy-client
构造器和说明 |
---|
SpdyClient() |
限定符和类型 | 方法和说明 |
---|---|
static void |
main(java.lang.String[] args) |