Package org.jboss.as.server.mgmt.domain
Interface ExtensibleHttpManagement
-
- All Superinterfaces:
HttpManagement
@Deprecated public interface ExtensibleHttpManagement extends HttpManagement
Deprecated.Experimental; may be removed or incompatibly modified in a future minor or major releaseAPI via which subsystems can extend the HTTP management interface functionality by adding specific types of new contexts.- Author:
- Brian Stansberry
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceExtensibleHttpManagement.PathRemapperDeprecated.Converts acontext relative pathto a path appropriate for use with the/managementcontext.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddManagementGetRemapContext(String contextName, ExtensibleHttpManagement.PathRemapper remapper)Deprecated.Add a context that remaps GET request paths to paths appropriate to the normal/managementcontext and then dispatches the request to the normal handling for the/managementcontext.voidaddManagementHandler(String contextName, boolean requiresSecurity, io.undertow.server.HttpHandler managementHandler)Deprecated.Add a context for a HTTP management handler.voidaddStaticContext(String contextName, io.undertow.server.handlers.resource.ResourceManager resourceManager)Deprecated.Add a context that serves static resourcesvoidremoveContext(String contextName)Deprecated.Remove a previously added context-
Methods inherited from interface org.jboss.as.server.mgmt.domain.HttpManagement
getHttpNetworkInterfaceBinding, getHttpPort, getHttpsNetworkInterfaceBinding, getHttpsPort, hasConsole
-
-
-
-
Method Detail
-
addStaticContext
void addStaticContext(String contextName, io.undertow.server.handlers.resource.ResourceManager resourceManager)
Deprecated.Add a context that serves static resources- Parameters:
contextName- the name of the context. Cannot benullor emptyresourceManager- manager to provide resources for the context. Cannot benull- Throws:
IllegalArgumentException- if either parameter is invalidIllegalStateException- if there is already a context present named the same ascontextName, either added via this interface or otherwise
-
addManagementGetRemapContext
void addManagementGetRemapContext(String contextName, ExtensibleHttpManagement.PathRemapper remapper)
Deprecated.Add a context that remaps GET request paths to paths appropriate to the normal/managementcontext and then dispatches the request to the normal handling for the/managementcontext. POST requests result in a 405.- Parameters:
contextName- the name of the context. Cannot benullor emptyremapper- object that converts request paths- Throws:
IllegalArgumentException- if either parameter is invalidIllegalStateException- if there is already a context present named the same ascontextName, either added via this interface or otherwise
-
addManagementHandler
void addManagementHandler(String contextName, boolean requiresSecurity, io.undertow.server.HttpHandler managementHandler)
Deprecated.Add a context for a HTTP management handler.- Parameters:
contextName- the name of the context. Cannot benullor emptyrequiresSecurity-trueif the management handler requires a security realm.managementHandler- HTTP management handler. Cannot benull- Throws:
IllegalArgumentException- if either parameter is invalidIllegalStateException- if there is already a context present named the same ascontextName, either added via this interface or otherwise
-
removeContext
void removeContext(String contextName)
Deprecated.Remove a previously added context- Parameters:
contextName- the name of the context. Cannot benullor empty- Throws:
IllegalArgumentException- ifcontextNameisnullor emptyIllegalStateException- if no context present namedcontextNamewas added via this interface
-
-