public final class SpdyServer
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 server from the command line:
./run-example.sh spdy-server
Once started, you can test the server with your SPDY enabled web browser by navigating to https://localhost:8443/
构造器和说明 |
---|
SpdyServer() |
限定符和类型 | 方法和说明 |
---|---|
static void |
main(java.lang.String[] args) |