forked from MirrorHub/authlib-injector
nanohttpd: refactor: remove NanoHTTPD.closeAllConnections
This commit is contained in:
parent
848e6da6a9
commit
728e5d0d61
1 changed files with 0 additions and 7 deletions
|
@ -258,13 +258,6 @@ public abstract class NanoHTTPD {
|
|||
this.myPort = port;
|
||||
}
|
||||
|
||||
/**
|
||||
* Forcibly closes all connections that are open.
|
||||
*/
|
||||
public synchronized void closeAllConnections() {
|
||||
stop();
|
||||
}
|
||||
|
||||
public final int getListeningPort() {
|
||||
return this.myServerSocket == null ? -1 : this.myServerSocket.getLocalPort();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue