All Downloads are FREE. Search and download functionalities are using the official Maven repository.

water.webserver.iface.WebServer Maven / Gradle / Ivy

Go to download

Interface module isolating H2O functionality from specific HTTP server implementation. Exposes facade that needs to have exactly one implementation on runtime classpath.

The newest version!
package water.webserver.iface;

import java.io.IOException;

/**
 * All the functionality that we need to call on an existing instance of HTTP server (servlet container).
 */
public interface WebServer {

  void start(String ip, int port) throws IOException;

  void stop() throws IOException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy