public class HTTPUpgradeService extends Object implements org.jboss.msc.service.Service<HTTPUpgradeService>
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
HTTP_UPGRADE_REGISTRY |
protected org.jboss.msc.value.InjectedValue<io.undertow.server.handlers.ChannelUpgradeHandler> |
injectedRegistry |
protected org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> |
listenerRegistry |
static org.jboss.msc.service.ServiceName |
UPGRADE_SERVICE_NAME |
Constructor and Description |
---|
HTTPUpgradeService(String activeMQServerName,
String acceptorName,
String httpListenerName) |
Modifier and Type | Method and Description |
---|---|
protected String |
getHttpUpgradeEndpointKey() |
protected String |
getProtocol() |
protected String |
getSecAcceptHeader() |
protected String |
getSecKeyHeader() |
HTTPUpgradeService |
getValue() |
static void |
installService(org.jboss.msc.service.ServiceTarget serviceTarget,
String activeMQServerName,
String acceptorName,
String httpListenerName) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static final org.jboss.msc.service.ServiceName HTTP_UPGRADE_REGISTRY
public static final org.jboss.msc.service.ServiceName UPGRADE_SERVICE_NAME
protected org.jboss.msc.value.InjectedValue<io.undertow.server.handlers.ChannelUpgradeHandler> injectedRegistry
protected org.jboss.msc.value.InjectedValue<io.undertow.server.ListenerRegistry> listenerRegistry
public static void installService(org.jboss.msc.service.ServiceTarget serviceTarget, String activeMQServerName, String acceptorName, String httpListenerName)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<HTTPUpgradeService>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<HTTPUpgradeService>
public HTTPUpgradeService getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<HTTPUpgradeService>
IllegalStateException
IllegalArgumentException
protected String getProtocol()
protected String getSecKeyHeader()
protected String getSecAcceptHeader()
protected String getHttpUpgradeEndpointKey()
Copyright © 2017 JBoss by Red Hat. All rights reserved.