Search in sources :

Example 1 with QuietMonitor

use of com.github.dreamhead.moco.monitor.QuietMonitor in project moco by dreamhead.

the class MocoRest method restServer.

public static RestServer restServer(final int port, final MocoConfig... configs) {
    checkArgument(port > 0, "Port must be greater than zero");
    checkNotNull(configs, "Config should not be null");
    return new ActualRestServer(of(port), Optional.<HttpsCertificate>absent(), new QuietMonitor(), configs);
}
Also used : ActualRestServer(com.github.dreamhead.moco.rest.ActualRestServer) QuietMonitor(com.github.dreamhead.moco.monitor.QuietMonitor)

Aggregations

QuietMonitor (com.github.dreamhead.moco.monitor.QuietMonitor)1 ActualRestServer (com.github.dreamhead.moco.rest.ActualRestServer)1