Package org.jboss.as.server.mgmt
Class UndertowHttpManagementService
java.lang.Object
org.jboss.as.server.mgmt.UndertowHttpManagementService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<HttpManagement>,org.jboss.msc.value.Value<HttpManagement>
public class UndertowHttpManagementService
extends Object
implements org.jboss.msc.service.Service<HttpManagement>
- Author:
- Kabir Khan, Richard Opalka
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RuntimeCapability<Void>static final Stringstatic final org.jboss.msc.service.ServiceNamestatic final Stringstatic final org.jboss.msc.service.ServiceNamestatic final Stringstatic final Stringstatic final Stringstatic final org.jboss.msc.service.ServiceNameFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionUndertowHttpManagementService(Consumer<HttpManagement> httpManagementConsumer, Supplier<io.undertow.server.ListenerRegistry> listenerRegistrySupplier, Supplier<ModelController> modelControllerSupplier, Supplier<SocketBinding> socketBindingSupplier, Supplier<SocketBinding> secureSocketBindingSupplier, Supplier<SocketBindingManager> socketBindingManagerSupplier, Supplier<NetworkInterfaceBinding> interfaceBindingSupplier, Supplier<NetworkInterfaceBinding> secureInterfaceBindingSupplier, Supplier<ManagementHttpRequestProcessor> requestProcessorSupplier, Supplier<org.xnio.XnioWorker> workerSupplier, Supplier<Executor> executorSupplier, Supplier<org.wildfly.security.auth.server.HttpAuthenticationFactory> httpAuthFactorySupplier, Supplier<SSLContext> sslContextSupplier, Integer port, Integer securePort, Collection<String> allowedOrigins, ConsoleMode consoleMode, Supplier<String> consoleSlot, Map<String, List<HttpInterfaceCommonPolicy.Header>> constantHeaders, Supplier<ConsoleAvailability> consoleAvailabilitySupplier, Integer backlog, Integer noRequestTimeout, Integer connectionHighWater, Integer connectionLowWater) UndertowHttpManagementService(Consumer<HttpManagement> httpManagementConsumer, Supplier<io.undertow.server.ListenerRegistry> listenerRegistrySupplier, Supplier<ModelController> modelControllerSupplier, Supplier<SocketBinding> socketBindingSupplier, Supplier<SocketBinding> secureSocketBindingSupplier, Supplier<SocketBindingManager> socketBindingManagerSupplier, Supplier<NetworkInterfaceBinding> interfaceBindingSupplier, Supplier<NetworkInterfaceBinding> secureInterfaceBindingSupplier, Supplier<ManagementHttpRequestProcessor> requestProcessorSupplier, Supplier<org.xnio.XnioWorker> workerSupplier, Supplier<Executor> executorSupplier, Supplier<org.wildfly.security.auth.server.HttpAuthenticationFactory> httpAuthFactorySupplier, Supplier<SSLContext> sslContextSupplier, Integer port, Integer securePort, Collection<String> allowedOrigins, ConsoleMode consoleMode, Supplier<String> consoleSlot, Map<String, List<HttpInterfaceCommonPolicy.Header>> constantHeaders, Supplier<ConsoleAvailability> consoleAvailabilitySupplier, Supplier<org.wildfly.security.auth.server.SecurityDomain> virtualSecurityDomainSupplier, Supplier<org.wildfly.security.http.HttpServerAuthenticationMechanismFactory> virtualMechanismFactorySupplier, Integer backlog, Integer noRequestTimeout, Integer connectionHighWater, Integer connectionLowWater) -
Method Summary
-
Field Details
-
EXTENSIBLE_HTTP_MANAGEMENT_CAPABILITY
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME -
SERVER_NAME
- See Also:
-
HTTP_MANAGEMENT
- See Also:
-
HTTPS_MANAGEMENT
- See Also:
-
HTTP_UPGRADE_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName HTTP_UPGRADE_SERVICE_NAME -
HTTPS_UPGRADE_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName HTTPS_UPGRADE_SERVICE_NAME -
JBOSS_REMOTING
- See Also:
-
MANAGEMENT_ENDPOINT
- See Also:
-
-
Constructor Details
-
UndertowHttpManagementService
public UndertowHttpManagementService(Consumer<HttpManagement> httpManagementConsumer, Supplier<io.undertow.server.ListenerRegistry> listenerRegistrySupplier, Supplier<ModelController> modelControllerSupplier, Supplier<SocketBinding> socketBindingSupplier, Supplier<SocketBinding> secureSocketBindingSupplier, Supplier<SocketBindingManager> socketBindingManagerSupplier, Supplier<NetworkInterfaceBinding> interfaceBindingSupplier, Supplier<NetworkInterfaceBinding> secureInterfaceBindingSupplier, Supplier<ManagementHttpRequestProcessor> requestProcessorSupplier, Supplier<org.xnio.XnioWorker> workerSupplier, Supplier<Executor> executorSupplier, Supplier<org.wildfly.security.auth.server.HttpAuthenticationFactory> httpAuthFactorySupplier, Supplier<SSLContext> sslContextSupplier, Integer port, Integer securePort, Collection<String> allowedOrigins, ConsoleMode consoleMode, Supplier<String> consoleSlot, Map<String, List<HttpInterfaceCommonPolicy.Header>> constantHeaders, Supplier<ConsoleAvailability> consoleAvailabilitySupplier, Integer backlog, Integer noRequestTimeout, Integer connectionHighWater, Integer connectionLowWater) -
UndertowHttpManagementService
public UndertowHttpManagementService(Consumer<HttpManagement> httpManagementConsumer, Supplier<io.undertow.server.ListenerRegistry> listenerRegistrySupplier, Supplier<ModelController> modelControllerSupplier, Supplier<SocketBinding> socketBindingSupplier, Supplier<SocketBinding> secureSocketBindingSupplier, Supplier<SocketBindingManager> socketBindingManagerSupplier, Supplier<NetworkInterfaceBinding> interfaceBindingSupplier, Supplier<NetworkInterfaceBinding> secureInterfaceBindingSupplier, Supplier<ManagementHttpRequestProcessor> requestProcessorSupplier, Supplier<org.xnio.XnioWorker> workerSupplier, Supplier<Executor> executorSupplier, Supplier<org.wildfly.security.auth.server.HttpAuthenticationFactory> httpAuthFactorySupplier, Supplier<SSLContext> sslContextSupplier, Integer port, Integer securePort, Collection<String> allowedOrigins, ConsoleMode consoleMode, Supplier<String> consoleSlot, Map<String, List<HttpInterfaceCommonPolicy.Header>> constantHeaders, Supplier<ConsoleAvailability> consoleAvailabilitySupplier, Supplier<org.wildfly.security.auth.server.SecurityDomain> virtualSecurityDomainSupplier, Supplier<org.wildfly.security.http.HttpServerAuthenticationMechanismFactory> virtualMechanismFactorySupplier, Integer backlog, Integer noRequestTimeout, Integer connectionHighWater, Integer connectionLowWater)
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException Starts the service.- Specified by:
startin interfaceorg.jboss.msc.Service- Parameters:
context- The start context- Throws:
org.jboss.msc.service.StartException- If any errors occur
-
stop
public void stop(org.jboss.msc.service.StopContext context) Stops the service.- Specified by:
stopin interfaceorg.jboss.msc.Service- Parameters:
context- The stop context
-
getValue
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<HttpManagement>- Throws:
IllegalStateExceptionIllegalArgumentException
-