Class PortUnificationServer
- java.lang.Object
-
- org.jboss.netty.example.portunification.PortUnificationServer
-
public final class PortUnificationServer extends java.lang.Object
Serves two protocols (HTTP and Factorial) using only one port, enabling either SSL or GZIP dynamically on demand.Because SSL and GZIP are enabled on demand, 5 combinations per protocol are possible: none, SSL only, GZIP only, SSL + GZIP, and GZIP + SSL.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
PORT
-
Constructor Summary
Constructors Constructor Description PortUnificationServer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-