org.jboss.netty.example.portunification
Class PortUnificationServer
java.lang.Object
org.jboss.netty.example.portunification.PortUnificationServer
public 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.
- Version:
- $Rev: 2126 $, $Date: 2010-02-02 13:27:33 +0900 (Tue, 02 Feb 2010) $
- Author:
- The Netty Project, Trustin Lee
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortUnificationServer
public PortUnificationServer()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.