org.webpieces.webserver.api.WebServer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-webserver Show documentation
Show all versions of http-webserver Show documentation
The full webpieces server AS A library
package org.webpieces.webserver.api;
import java.util.concurrent.CompletableFuture;
import org.webpieces.nio.api.channels.TCPServerChannel;
public interface WebServer {
void startSync();
CompletableFuture startAsync();
void stop();
TCPServerChannel getUnderlyingHttpChannel();
TCPServerChannel getUnderlyingHttpsChannel();
}