TomcatWebServer

constructor(tomcat: Tomcat)

Create a new TomcatWebServer instance.

Parameters

tomcat

the underlying Tomcat server


constructor(tomcat: Tomcat, autoStart: Boolean)

Create a new TomcatWebServer instance.

Parameters

tomcat

the underlying Tomcat server

autoStart

if the server should be started


constructor(tomcat: Tomcat, autoStart: Boolean, shutdown: Shutdown)

Create a new TomcatWebServer instance.

Since

2.3.0

Parameters

tomcat

the underlying Tomcat server

autoStart

if the server should be started

shutdown

type of shutdown supported by the server