public class MCMPHandlerConfigurationImpl extends Object implements MCMPHandlerConfiguration
| Constructor and Description |
|---|
MCMPHandlerConfigurationImpl(Collection<ProxyConfiguration> proxyConfigurations,
String proxyURL,
int socketTimeout,
SocketFactory socketFactory,
Map<String,Set<String>> excludedContextsPerHost,
Boolean advertise,
boolean autoEnableContexts,
long stopContextTimeout,
TimeUnit stopContextTimeoutUnit,
JvmRouteFactory jvmRouteFactory,
SessionDrainingStrategy sessionDrainingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAdvertise()
Receive advertisements from httpd proxies (default is to use advertisements if the proxyList is not set).
|
Map<String,Set<String>> |
getExcludedContextsPerHost()
Returns a list of contexts that should never be enabled in mod_cluster.
|
JvmRouteFactory |
getJvmRouteFactory()
Factory for generating jvm route
|
Collection<InetSocketAddress> |
getProxies()
Deprecated.
|
Collection<ProxyConfiguration> |
getProxyConfigurations()
Gets list of proxies as a collection of
ProxyConfigurations. |
String |
getProxyURL()
URL prefix.
|
SessionDrainingStrategy |
getSessionDrainingStrategy() |
SocketFactory |
getSocketFactory()
Configuration of the socket factory, supply SSL socket factory to use SSL to connect to the proxy.
|
int |
getSocketTimeout()
Connection timeout for communication with the proxy.
|
long |
getStopContextTimeout()
Returns the number of
MCMPHandlerConfiguration.getStopContextTimeoutUnit() to wait for pending requests to complete when stopping a
context. |
TimeUnit |
getStopContextTimeoutUnit()
Returns the unit of time to which
MCMPHandlerConfiguration.getStopContextTimeout() pertains. |
boolean |
isAutoEnableContexts()
Indicates whether or not to automatically enable contexts.
|
boolean |
isSsl()
Deprecated.
|
public MCMPHandlerConfigurationImpl(Collection<ProxyConfiguration> proxyConfigurations, String proxyURL, int socketTimeout, SocketFactory socketFactory, Map<String,Set<String>> excludedContextsPerHost, Boolean advertise, boolean autoEnableContexts, long stopContextTimeout, TimeUnit stopContextTimeoutUnit, JvmRouteFactory jvmRouteFactory, SessionDrainingStrategy sessionDrainingStrategy)
public Collection<ProxyConfiguration> getProxyConfigurations()
MCMPHandlerConfigurationProxyConfigurations.getProxyConfigurations in interface MCMPHandlerConfigurationProxyConfigurations@Deprecated public Collection<InetSocketAddress> getProxies()
MCMPHandlerConfigurationInetSocketAddresses.getProxies in interface MCMPHandlerConfigurationInetSocketAddressespublic String getProxyURL()
MCMPHandlerConfigurationgetProxyURL in interface MCMPHandlerConfigurationpublic int getSocketTimeout()
MCMPHandlerConfigurationgetSocketTimeout in interface MCMPHandlerConfiguration@Deprecated public boolean isSsl()
MCMPHandlerConfigurationisSsl in interface MCMPHandlerConfigurationpublic SocketFactory getSocketFactory()
MCMPHandlerConfigurationgetSocketFactory in interface MCMPHandlerConfigurationpublic Map<String,Set<String>> getExcludedContextsPerHost()
MCMPHandlerConfigurationgetExcludedContextsPerHost in interface MCMPHandlerConfigurationpublic Boolean getAdvertise()
MCMPHandlerConfigurationgetAdvertise in interface MCMPHandlerConfigurationpublic boolean isAutoEnableContexts()
MCMPHandlerConfigurationisAutoEnableContexts in interface MCMPHandlerConfigurationpublic long getStopContextTimeout()
MCMPHandlerConfigurationMCMPHandlerConfiguration.getStopContextTimeoutUnit() to wait for pending requests to complete when stopping a
context.getStopContextTimeout in interface MCMPHandlerConfigurationpublic TimeUnit getStopContextTimeoutUnit()
MCMPHandlerConfigurationMCMPHandlerConfiguration.getStopContextTimeout() pertains.getStopContextTimeoutUnit in interface MCMPHandlerConfigurationpublic JvmRouteFactory getJvmRouteFactory()
MCMPHandlerConfigurationgetJvmRouteFactory in interface MCMPHandlerConfigurationpublic SessionDrainingStrategy getSessionDrainingStrategy()
getSessionDrainingStrategy in interface MCMPHandlerConfigurationCopyright © 2023 JBoss by Red Hat. All rights reserved.