public class HttpListenerService extends ListenerService<HttpListenerService>
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) |
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() |
protected String |
getProtocol() |
HttpListenerService |
getValue() |
boolean |
isSecure() |
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() |
getBinding, getBufferPool, getName, getOpenListener, getRedirectSocket, getServerService, getUndertowService, getWorker, registerBinding, start, stop, unregisterBinding
protected final org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> httpListenerRegistry
protected io.undertow.server.OpenListener createOpenListener()
createOpenListener
in class ListenerService<HttpListenerService>
public boolean isSecure()
isSecure
in class ListenerService<HttpListenerService>
protected void preStart(org.jboss.msc.service.StartContext context)
preStart
in class ListenerService<HttpListenerService>
protected void startListening(org.xnio.XnioWorker worker, InetSocketAddress socketAddress, org.xnio.ChannelListener<org.xnio.channels.AcceptingChannel<org.xnio.StreamConnection>> acceptListener) throws IOException
IOException
protected void cleanFailedStart()
cleanFailedStart
in class ListenerService<HttpListenerService>
protected void stopListening()
public HttpListenerService getValue() throws IllegalStateException, IllegalArgumentException
public org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> getHttpListenerRegistry()
protected String getProtocol()
getProtocol
in class ListenerService<HttpListenerService>
Copyright © 2018 JBoss by Red Hat. All rights reserved.