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) |
| Modifier and Type | Method and Description |
|---|---|
protected io.undertow.server.OpenListener |
createOpenListener() |
String |
getProtocol()
Returns the transport protocol.
|
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, getServerService, getSocketBinding, getUndertowService, getWorker, isEnabled, isShutdown, registerBinding, setEnabled, start, stopprotected 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.