water.webserver.iface.WebServer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of h2o-webserver-iface Show documentation
Show all versions of h2o-webserver-iface Show documentation
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