Starts with your custom ChannelInitializer.
Starts with your custom ChannelInitializer. For an example, see xitrum.handler.DefaultHttpChannelInitializer. SSL codec handler will be automatically prepended for HTTPS server.
Starts with the default ChannelInitializer provided by Xitrum.
Stops Xitrum gracefully.
Stops Xitrum gracefully. Do not call in Ximtrum action thread to avoid deadlock (start a new thread or use stopAtShutdown).
Registers a JVM shutdown hook that calls stop to stop Xitrum gracefully.
Registers a JVM shutdown hook that calls stop to stop Xitrum gracefully.
After the hook has been registered, you can stop Xitrum gracefully by running OS command kill <Xitrum PID>
.