public static interface JettyStarter.ServerWrapper
Modifier and Type | Method and Description |
---|---|
int |
getListeningPort()
Get listening port.
|
boolean |
isSsl()
Check if SSL connections are accepted.
|
void |
join()
Join server.
|
void |
stop()
Stop server.
|
void stop()
AbstractLifeCycle.stop()
.IllegalStateException
- wrap any Exception
thrown from underlying servervoid join() throws InterruptedException
Server.join()
.InterruptedException
- propagatedint getListeningPort()
Connector#getLocalPort()
.IllegalStateException
- when port is close or not opened. (Delegated method
Connector#getLocalPort()
returns zero or a negative number).boolean isSsl()