Package org.jboss.as.domain.http.server
Class ManagementHttpServer
- java.lang.Object
-
- org.jboss.as.domain.http.server.ManagementHttpServer
-
public class ManagementHttpServer extends Object
The general HTTP server for handling management API requests.- Author:
- Darran Lofthouse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagementHttpServer.Builderstatic interfaceManagementHttpServer.PathRemapper
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddManagementGetRemapContext(String contextName, ManagementHttpServer.PathRemapper remapper)voidaddManagementHandler(String contextName, boolean requireSecurity, io.undertow.server.HttpHandler managementHandler)voidaddStaticContext(String contextName, io.undertow.server.handlers.resource.ResourceManager resourceManager)static ManagementHttpServer.Builderbuilder()SocketAddressgetLocalAddress()<A extends SocketAddress>
AgetLocalAddress(Class<A> type)SocketAddressgetSecureLocalAddress()<A extends SocketAddress>
AgetSecureLocalAddress(Class<A> type)voidremoveContext(String contextName)voidstart()voidstop()
-
-
-
Method Detail
-
start
public void start()
-
stop
public void stop()
-
addStaticContext
public void addStaticContext(String contextName, io.undertow.server.handlers.resource.ResourceManager resourceManager)
-
addManagementHandler
public void addManagementHandler(String contextName, boolean requireSecurity, io.undertow.server.HttpHandler managementHandler)
-
addManagementGetRemapContext
public void addManagementGetRemapContext(String contextName, ManagementHttpServer.PathRemapper remapper)
-
removeContext
public void removeContext(String contextName)
-
builder
public static ManagementHttpServer.Builder builder()
-
getLocalAddress
public SocketAddress getLocalAddress()
-
getLocalAddress
public <A extends SocketAddress> A getLocalAddress(Class<A> type)
-
getSecureLocalAddress
public SocketAddress getSecureLocalAddress()
-
getSecureLocalAddress
public <A extends SocketAddress> A getSecureLocalAddress(Class<A> type)
-
-