Package io.higgs.core

Examples of io.higgs.core.HiggsServer


    public static HiggsServer startNewServer() {
        HttpProtocolConfiguration http = new HttpProtocolConfiguration();
        URL cfg = MockServer.class.getClassLoader().getResource("config.yml");
        assertNotNull(cfg);
        HiggsServer server = new HiggsServer().setConfig(cfg.getPath(), HttpConfig.class);
        server.registerProtocol(http);
        //
        server.registerPackage(MockCoreApi.class.getPackage());
        server.start();
        return server;
    }
View Full Code Here

TOP

Related Classes of io.higgs.core.HiggsServer

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.