Class TowServer

    • Constructor Detail

      • TowServer

        public TowServer()
    • Method Detail

      • setAutoStart

        public io.undertow.Undertow.Builder setAutoStart​(boolean autoStart)
      • setSystemProperty

        public io.undertow.Undertow.Builder setSystemProperty​(java.lang.String key,
                                                              java.lang.String value)
      • setHttpListeners

        public io.undertow.Undertow.Builder setHttpListeners​(HttpListenerConfig... httpListenerConfigs)
      • setHttpsListeners

        public io.undertow.Undertow.Builder setHttpsListeners​(HttpsListenerConfig... httpsListenerConfigs)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • setAjpListeners

        public io.undertow.Undertow.Builder setAjpListeners​(AjpListenerConfig... ajpListenerConfigs)
      • setHandler

        public io.undertow.Undertow.Builder setHandler​(io.undertow.server.HttpHandler handler)
      • setBufferSize

        public io.undertow.Undertow.Builder setBufferSize​(int bufferSize)
      • setIoThreads

        public io.undertow.Undertow.Builder setIoThreads​(int ioThreads)
      • setWorkerThreads

        public io.undertow.Undertow.Builder setWorkerThreads​(int workerThreads)
      • setDirectBuffers

        public io.undertow.Undertow.Builder setDirectBuffers​(boolean directBuffers)
      • setServerOption

        public <T> io.undertow.Undertow.Builder setServerOption​(org.xnio.Option<T> option,
                                                                T value)
      • setSocketOption

        public <T> io.undertow.Undertow.Builder setSocketOption​(org.xnio.Option<T> option,
                                                                T value)
      • setWorkerOption

        public <T> io.undertow.Undertow.Builder setWorkerOption​(org.xnio.Option<T> option,
                                                                T value)
      • setServerOptions

        public void setServerOptions​(TowOptions options)
      • setSocketOptions

        public void setSocketOptions​(TowOptions options)
      • setWorkerOptions

        public void setWorkerOptions​(TowOptions options)
      • doStart

        public void doStart()
                     throws java.lang.Exception
        Overrides:
        doStart in class AbstractLifeCycle
        Throws:
        java.lang.Exception
      • initialize

        public void initialize()
                        throws java.lang.Exception
        Description copied from interface: InitializableBean
        Invoke on initialization after it has set all bean properties supplied.
        Specified by:
        initialize in interface InitializableBean
        Throws:
        java.lang.Exception - if initialization fails
      • destroy

        public void destroy()
        Description copied from interface: DisposableBean
        A Dispose implementation that calls the destroy() method.
        Specified by:
        destroy in interface DisposableBean