Package net.sf.cindy.example.http.handler

Examples of net.sf.cindy.example.http.handler.CachedFileHandler$Reference


    public static void main(String[] args) throws Exception {
        List params = Arrays.asList(args);

        echo = params.contains("-echo");
        handler = echo ? (SessionHandler) new EchoHandler()
                : new CachedFileHandler();
        sslc = params.contains("-secure") ? getSSLcontext() : null;

        SessionAcceptor acceptor = SessionFactory
                .createSessionAcceptor(SessionType.TCP);
        acceptor.setListenPort(port);
View Full Code Here

TOP

Related Classes of net.sf.cindy.example.http.handler.CachedFileHandler$Reference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.