HttpServer and Startable should not have default for methods that take callbacks / notify #733
Closed
Description
public interface HttpServer extends Server, HttpTransport {
default HttpServer startServer() {
start();
return this;
}
default HttpServer startServerAndWait() {
throw new UnsupportedOperationException("startServerAndWait is not supported by " + this.getClass().getName());
}
Metadata
Assignees
Labels
No labels