Class HTTPUpgradeService

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<HTTPUpgradeService>, org.jboss.msc.value.Value<HTTPUpgradeService>

    public class HTTPUpgradeService
    extends Object
    implements org.jboss.msc.service.Service<HTTPUpgradeService>
    Service that handles HTTP upgrade for ActiveMQ remoting protocol.
    Author:
    Jeff Mesnil (c) 2013 Red Hat inc.
    • Constructor Detail

      • HTTPUpgradeService

        public HTTPUpgradeService​(String activeMQServerName,
                                  String acceptorName,
                                  String httpListenerName,
                                  Supplier<io.undertow.server.handlers.ChannelUpgradeHandler> upgradeSupplier,
                                  Supplier<io.undertow.server.ListenerRegistry> listenerRegistrySupplier)
    • Method Detail

      • installService

        public static void installService​(org.jboss.as.controller.CapabilityServiceTarget target,
                                          String activeMQServerName,
                                          String acceptorName,
                                          String httpListenerName)
      • start

        public void start​(org.jboss.msc.service.StartContext context)
                   throws org.jboss.msc.service.StartException
        Specified by:
        start in interface org.jboss.msc.Service
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service
      • getProtocol

        protected String getProtocol()
      • getSecKeyHeader

        protected String getSecKeyHeader()
      • getSecAcceptHeader

        protected String getSecAcceptHeader()
      • getHttpUpgradeEndpointKey

        protected String getHttpUpgradeEndpointKey()