Package booton.live

Examples of booton.live.ResourceServlet


    public void launch() {
        if (requireServer()) {
            try {
                ServletContextHandler servletHandler = new ServletContextHandler();
                servletHandler.addServlet(new ServletHolder(new LiveCodingServlet(config.root)), "/live/*");
                servletHandler.addServlet(new ServletHolder(new ResourceServlet(config.root)), "/*");

                Server server = new Server(config.port);
                server.setHandler(servletHandler);
                server.start();
            } catch (Exception e) {
View Full Code Here

TOP

Related Classes of booton.live.ResourceServlet

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.