public class HttpListenerService extends AbstractListenerService<HttpListenerService>
Modifier and Type | Field and Description |
---|---|
protected org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> |
httpListenerRegistry |
binding, bufferPool, listenerHandlerWrappers, openListener, SERVER_OPTIONS, serverService, worker
Constructor and Description |
---|
HttpListenerService(String name,
String serverName,
long maxUploadSize,
boolean certificateForwarding) |
Modifier and Type | Method and Description |
---|---|
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, getBufferSize, getName, getServerService, 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 AbstractListenerService<HttpListenerService>
public boolean isSecure()
isSecure
in class AbstractListenerService<HttpListenerService>
protected void preStart(org.jboss.msc.service.StartContext context)
preStart
in class AbstractListenerService<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 stopListening()
public HttpListenerService getValue() throws IllegalStateException, IllegalArgumentException
public org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> getHttpListenerRegistry()
protected String getProtocol()
getProtocol
in class AbstractListenerService<HttpListenerService>
Copyright © 2013 JBoss by Red Hat. All rights reserved.