public class HttpsListenerService extends HttpListenerService
HttpListenerService to add SSL.httpListenerRegistrybinding, bufferPool, commonOptions, listenerOptions, openListener, redirectSocket, serverService, socketOptions, worker| Constructor and Description |
|---|
HttpsListenerService(String name,
String serverName,
org.xnio.OptionMap listenerOptions,
String cipherSuites,
org.xnio.OptionMap socketOptions,
boolean proxyProtocol) |
| Modifier and Type | Method and Description |
|---|---|
protected io.undertow.server.OpenListener |
createOpenListener() |
String |
getProtocol()
Returns the transport protocol.
|
protected io.undertow.protocols.ssl.UndertowXnioSsl |
getSsl() |
protected org.xnio.OptionMap |
getSSLOptions(SSLContext sslContext) |
boolean |
isSecure()
Returns true if the listener is secure.
|
protected void |
startListening(org.xnio.XnioWorker worker,
InetSocketAddress socketAddress,
org.xnio.ChannelListener<org.xnio.channels.AcceptingChannel<org.xnio.StreamConnection>> acceptListener) |
protected void |
stopListening() |
cleanFailedStart, getHttpListenerRegistry, getValue, preStart, unregisterBindinggetBinding, getBufferPool, getName, getOpenListener, getRedirectSocket, getServer, getServerService, getSocketBinding, getUndertowService, getWorker, isEnabled, isShutdown, registerBinding, setEnabled, start, stopprotected io.undertow.protocols.ssl.UndertowXnioSsl getSsl()
getSsl in class ListenerServiceprotected org.xnio.OptionMap getSSLOptions(SSLContext sslContext)
getSSLOptions in class ListenerServiceprotected io.undertow.server.OpenListener createOpenListener()
createOpenListener in class HttpListenerServiceprotected void startListening(org.xnio.XnioWorker worker,
InetSocketAddress socketAddress,
org.xnio.ChannelListener<org.xnio.channels.AcceptingChannel<org.xnio.StreamConnection>> acceptListener)
throws IOException
startListening in class HttpListenerServiceIOExceptionpublic boolean isSecure()
UndertowListenerisSecure in interface UndertowListenerisSecure in class HttpListenerServicetrue if the listener is considered securityprotected void stopListening()
stopListening in class HttpListenerServicepublic String getProtocol()
UndertowListenergetProtocol in interface UndertowListenergetProtocol in class HttpListenerServiceCopyright © 2018 JBoss by Red Hat. All rights reserved.