Class PortUnificationServer

java.lang.Object
org.jboss.netty.example.portunification.PortUnificationServer

public final class PortUnificationServer extends 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.

  • Constructor Details

    • PortUnificationServer

      public PortUnificationServer()
  • Method Details