public Undertow build()
@Deprecated public Undertow.Builder addListener(int port, String host)
@Deprecated public Undertow.Builder addListener(int port, String host, Undertow.ListenerType listenerType)
public Undertow.Builder addHttpListener(int port, String host)
public Undertow.Builder addHttpsListener(int port, String host, KeyManager[] keyManagers, TrustManager[] trustManagers)
public Undertow.Builder addHttpsListener(int port, String host, SSLContext sslContext)
public Undertow.Builder addAjpListener(int port, String host)
public Undertow.Builder addHttpListener(int port, String host, HttpHandler rootHandler)
public Undertow.Builder addHttpsListener(int port, String host, KeyManager[] keyManagers, TrustManager[] trustManagers, HttpHandler rootHandler)
public Undertow.Builder addHttpsListener(int port, String host, SSLContext sslContext, HttpHandler rootHandler)
public Undertow.Builder addAjpListener(int port, String host, HttpHandler rootHandler)
public Undertow.Builder setBufferSize(int bufferSize)
public Undertow.Builder setBuffersPerRegion(int buffersPerRegion)
public Undertow.Builder setIoThreads(int ioThreads)
public Undertow.Builder setWorkerThreads(int workerThreads)
public Undertow.Builder setDirectBuffers(boolean directBuffers)
public Undertow.Builder setHandler(HttpHandler handler)
public <T> Undertow.Builder setServerOption(org.xnio.Option<T> option, T value)
public <T> Undertow.Builder setSocketOption(org.xnio.Option<T> option, T value)
public <T> Undertow.Builder setWorkerOption(org.xnio.Option<T> option, T value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.