package org.webpieces.frontend.api;
import java.nio.ByteBuffer;
import java.util.concurrent.CompletableFuture;
import org.webpieces.nio.api.channels.TCPServerChannel;
<BUG>public interface HttpServer {
CompletableFuture<Void> close();</BUG>
void enableOverloadMode(ByteBuffer overloadResponse);
void disableOverloadMode();
TCPServerChannel getUnderlyingChannel();

package org.webpieces.frontend.api;
import java.nio.ByteBuffer;
import java.util.concurrent.CompletableFuture;
import org.webpieces.nio.api.channels.TCPServerChannel;
public interface HttpServer {
void start();
CompletableFuture<Void> close();
void enableOverloadMode(ByteBuffer overloadResponse);
void disableOverloadMode();
TCPServerChannel getUnderlyingChannel();
