public class HttpListenerService extends ListenerService
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> |
httpListenerRegistry |
binding, bufferPool, commonOptions, listenerOptions, openListener, redirectSocket, serverService, socketOptions, worker| Constructor and Description |
|---|
HttpListenerService(String name,
String serverName,
org.xnio.OptionMap listenerOptions,
org.xnio.OptionMap socketOptions,
boolean certificateForwarding,
boolean proxyAddressForwarding,
boolean proxyProtocol) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanFailedStart() |
protected io.undertow.server.OpenListener |
createOpenListener() |
org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> |
getHttpListenerRegistry() |
String |
getProtocol()
Returns the transport protocol.
|
HttpListenerService |
getValue() |
boolean |
isSecure()
Returns true if the listener is secure.
|
protected void |
preStart(org.jboss.msc.service.StartContext context) |
protected void |
startListening(org.xnio.XnioWorker worker,
InetSocketAddress socketAddress,
org.xnio.ChannelListener<org.xnio.channels.AcceptingChannel<org.xnio.StreamConnection>> acceptListener) |
protected void |
stopListening() |
protected void |
unregisterBinding() |
getBinding, getBufferPool, getName, getOpenListener, getRedirectSocket, getServerService, getSocketBinding, getSsl, getSSLOptions, getUndertowService, getWorker, isEnabled, isShutdown, registerBinding, setEnabled, start, stopprotected final org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> httpListenerRegistry
protected io.undertow.server.OpenListener createOpenListener()
createOpenListener in class ListenerServicepublic boolean isSecure()
UndertowListenerisSecure in interface UndertowListenerisSecure in class ListenerServicetrue if the listener is considered securityprotected void preStart(org.jboss.msc.service.StartContext context)
preStart in class ListenerServiceprotected void startListening(org.xnio.XnioWorker worker,
InetSocketAddress socketAddress,
org.xnio.ChannelListener<org.xnio.channels.AcceptingChannel<org.xnio.StreamConnection>> acceptListener)
throws IOException
IOExceptionprotected void cleanFailedStart()
cleanFailedStart in class ListenerServiceprotected void unregisterBinding()
unregisterBinding in class ListenerServiceprotected void stopListening()
public HttpListenerService getValue() throws IllegalStateException, IllegalArgumentException
public org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> getHttpListenerRegistry()
public String getProtocol()
UndertowListenergetProtocol in interface UndertowListenergetProtocol in class ListenerServiceCopyright © 2018 JBoss by Red Hat. All rights reserved.