public class DefaultMCMPRequestFactory extends Object implements MCMPRequestFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SESSION_COOKIE_NAME |
static String |
DEFAULT_SESSION_PARAMETER_NAME |
| Constructor and Description |
|---|
DefaultMCMPRequestFactory() |
| Modifier and Type | Method and Description |
|---|---|
MCMPRequest |
createConfigRequest(Engine engine,
NodeConfiguration nodeConfig,
BalancerConfiguration balancerConfig)
Creates a CONFIG MCMP request for the specified engine.
|
MCMPRequest |
createDisableRequest(Context context)
Creates an DISABLE-APP MCMP request for the specified context.
|
MCMPRequest |
createDisableRequest(Engine engine)
Creates an DISABLE-APP * MCMP request for the specified engine.
|
MCMPRequest |
createDumpRequest()
Creates an DUMP MCMP request.
|
MCMPRequest |
createEnableRequest(Context context)
Creates an ENABLE-APP MCMP request for the specified context.
|
MCMPRequest |
createEnableRequest(Engine engine)
Creates an ENABLE-APP * MCMP request for the specified engine.
|
MCMPRequest |
createInfoRequest()
Creates an INFO MCMP request.
|
MCMPRequest |
createPingRequest() |
MCMPRequest |
createPingRequest(String jvmRoute) |
MCMPRequest |
createPingRequest(String scheme,
String host,
int port) |
MCMPRequest |
createRemoveContextRequest(String jvmRoute,
Set<String> aliases,
String path)
Create a REMOVE-APP request using the specified jvm route, aliases, and context path.
|
MCMPRequest |
createRemoveEngineRequest(String jvmRoute) |
MCMPRequest |
createRemoveRequest(Context context)
Creates an REMOVE-APP MCMP request for the specified context.
|
MCMPRequest |
createRemoveRequest(Engine engine)
Creates an REMOVE-APP * MCMP request for the specified engine.
|
MCMPRequest |
createStatusRequest(String jvmRoute,
int lbf)
Creates an STATUS MCMP request using the specified jvmRoute and load balance factor.
|
MCMPRequest |
createStopRequest(Context context)
Creates an STOP-APP MCMP request for the specified context.
|
MCMPRequest |
createStopRequest(Engine engine) |
public static final String DEFAULT_SESSION_COOKIE_NAME
public static final String DEFAULT_SESSION_PARAMETER_NAME
public MCMPRequest createConfigRequest(Engine engine, NodeConfiguration nodeConfig, BalancerConfiguration balancerConfig)
createConfigRequest in interface MCMPRequestFactoryengine - the servlet engine to be configurednodeConfig - the node configurationbalancerConfig - the balancer configurationorg.jboss.modcluster.mcmp.MCMPRequestFactory#createConfigRequest(org.jboss.modcluster.Engine,
org.jboss.modcluster.config.NodeConfiguration, org.jboss.modcluster.config.BalancerConfiguration)public MCMPRequest createDisableRequest(Context context)
createDisableRequest in interface MCMPRequestFactorycontext - a web application contextorg.jboss.modcluster.mcmp.MCMPRequestFactory#createDisableRequest(org.jboss.modcluster.Context)public MCMPRequest createDisableRequest(Engine engine)
createDisableRequest in interface MCMPRequestFactoryengine - a servlet engineorg.jboss.modcluster.mcmp.MCMPRequestFactory#createDisableRequest(org.jboss.modcluster.Engine)public MCMPRequest createEnableRequest(Context context)
createEnableRequest in interface MCMPRequestFactorycontext - a web application contextorg.jboss.modcluster.mcmp.MCMPRequestFactory#createEnableRequest(org.jboss.modcluster.Context)public MCMPRequest createEnableRequest(Engine engine)
createEnableRequest in interface MCMPRequestFactoryengine - a servlet engineorg.jboss.modcluster.mcmp.MCMPRequestFactory#createEnableRequest(org.jboss.modcluster.Engine)public MCMPRequest createRemoveRequest(Engine engine)
createRemoveRequest in interface MCMPRequestFactoryengine - a servlet engineorg.jboss.modcluster.mcmp.MCMPRequestFactory#createRemoveRequest(org.jboss.modcluster.Engine)public MCMPRequest createRemoveRequest(Context context)
createRemoveRequest in interface MCMPRequestFactorycontext - a web application contextorg.jboss.modcluster.mcmp.MCMPRequestFactory#createRemoveRequest(org.jboss.modcluster.Context)public MCMPRequest createStatusRequest(String jvmRoute, int lbf)
MCMPRequestFactorycreateStatusRequest in interface MCMPRequestFactoryjvmRoute - a configured jvm routelbf - a load factorMCMPRequestFactory.createStatusRequest(java.lang.String, int)public MCMPRequest createStopRequest(Engine engine)
createStopRequest in interface MCMPRequestFactoryengine - a servlet engineorg.jboss.modcluster.mcmp.MCMPRequestFactory#createStopRequest(org.jboss.modcluster.Engine)public MCMPRequest createStopRequest(Context context)
createStopRequest in interface MCMPRequestFactorycontext - a web application contextorg.jboss.modcluster.mcmp.MCMPRequestFactory#createStopRequest(org.jboss.modcluster.Context)public MCMPRequest createDumpRequest()
MCMPRequestFactorycreateDumpRequest in interface MCMPRequestFactoryMCMPRequestFactory.createDumpRequest()public MCMPRequest createInfoRequest()
MCMPRequestFactorycreateInfoRequest in interface MCMPRequestFactoryMCMPRequestFactory.createInfoRequest()public MCMPRequest createPingRequest()
createPingRequest in interface MCMPRequestFactoryMCMPRequestFactory.createPingRequest()public MCMPRequest createPingRequest(String jvmRoute)
createPingRequest in interface MCMPRequestFactoryjvmRoute - a jvm route of the target nodeMCMPRequestFactory.createPingRequest(java.lang.String)public MCMPRequest createPingRequest(String scheme, String host, int port)
createPingRequest in interface MCMPRequestFactoryMCMPRequestFactory.createPingRequest(java.lang.String, java.lang.String, int)public MCMPRequest createRemoveContextRequest(String jvmRoute, Set<String> aliases, String path)
MCMPRequestFactorycreateRemoveContextRequest in interface MCMPRequestFactoryjvmRoute - a jvm routealiases - a set of host aliasespath - the context pathMCMPRequestFactory.createRemoveContextRequest(java.lang.String, java.util.Set,
java.lang.String)public MCMPRequest createRemoveEngineRequest(String jvmRoute)
createRemoveEngineRequest in interface MCMPRequestFactoryjvmRoute - a jvm routeMCMPRequestFactory.createRemoveEngineRequest(java.lang.String)Copyright © 2025 JBoss by Red Hat. All rights reserved.