@Deprecated public interface ExtensibleHttpManagement extends HttpManagement
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ExtensibleHttpManagement.PathRemapper
Deprecated.
Converts a
context relative path to a
path appropriate for use with the /management context. |
| Modifier and Type | Method and Description |
|---|---|
void |
addManagementGetRemapContext(String contextName,
ExtensibleHttpManagement.PathRemapper remapper)
Deprecated.
Add a context that remaps GET request paths to paths appropriate to the normal
/management
context and then dispatches the request to the normal handling for the /management context. |
void |
addStaticContext(String contextName,
io.undertow.server.handlers.resource.ResourceManager resourceManager)
Deprecated.
Add a context that serves static resources
|
void |
removeContext(String contextName)
Deprecated.
Remove a previously added context
|
getHttpNetworkInterfaceBinding, getHttpPort, getHttpsNetworkInterfaceBinding, getHttpsPort, hasConsolevoid addStaticContext(String contextName, io.undertow.server.handlers.resource.ResourceManager resourceManager)
contextName - the name of the context. Cannot be null or emptyresourceManager - manager to provide resources for the context. Cannot be nullIllegalArgumentException - if either parameter is invalidIllegalStateException - if there is already a context present named the same as contextName, either
added via this interface or otherwisevoid addManagementGetRemapContext(String contextName, ExtensibleHttpManagement.PathRemapper remapper)
/management
context and then dispatches the request to the normal handling for the /management context.
POST requests result in a 405.contextName - the name of the context. Cannot be null or emptyremapper - object that converts request pathsIllegalArgumentException - if either parameter is invalidIllegalStateException - if there is already a context present named the same as contextName, either
added via this interface or otherwisevoid removeContext(String contextName)
contextName - the name of the context. Cannot be null or emptyIllegalArgumentException - if contextName is null or emptyIllegalStateException - if no context present named contextName was added via this interfaceCopyright © 2017 JBoss by Red Hat. All rights reserved.