Package io.higgs.http.server.protocol

Examples of io.higgs.http.server.protocol.HttpProtocolConfiguration


public class MockServer {
    private MockServer() {
    }

    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);
        //
View Full Code Here

TOP

Related Classes of io.higgs.http.server.protocol.HttpProtocolConfiguration

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.