Top Inners Fields Constructors Methods
io.undertow.server.handlers.proxy.mod_cluster

public Class MCMPConfig

extends Object
Class Inheritance
Known Direct Subclasses
io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.MCMPWebManagerConfig
Imports
io.undertow.UndertowLogger, io.undertow.server.HttpHandler, java.net.InetSocketAddress

Authors
Emanuel Muckenhuber, Radoslav Husar
Version
March 2016

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
pack-priv static class
public static class
pack-priv static class
public static class

Field Summary

Modifier and TypeField and Description
private final MCMPConfig.AdvertiseConfig
private final InetSocketAddress

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static MCMPConfig.Builder
public HttpHandler
create(final ModCluster modCluster, final HttpHandler next)

public MCMPConfig.AdvertiseConfig
public String
getManagementHost()
Deprecated

public int
getManagementPort()
Deprecated

public InetSocketAddress
public static MCMPConfig.WebBuilder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

advertiseConfigback to summary
private final MCMPConfig.AdvertiseConfig advertiseConfig
managementSocketAddressback to summary
private final InetSocketAddress managementSocketAddress

Constructor Detail

MCMPConfigback to summary
public MCMPConfig(MCMPConfig.Builder builder)

Method Detail

builderback to summary
public static MCMPConfig.Builder builder()
createback to summary
public HttpHandler create(final ModCluster modCluster, final HttpHandler next)
getAdvertiseConfigback to summary
public MCMPConfig.AdvertiseConfig getAdvertiseConfig()
getManagementHostback to summary
public String getManagementHost()

Deprecated

Annotations
@Deprecated
getManagementPortback to summary
public int getManagementPort()

Deprecated

Annotations
@Deprecated
getManagementSocketAddressback to summary
public InetSocketAddress getManagementSocketAddress()
webBuilderback to summary
public static MCMPConfig.WebBuilder webBuilder()
io.undertow.server.handlers.proxy.mod_cluster back to summary

public Class MCMPConfig.AdvertiseBuilder

extends Object
Class Inheritance
  • java.lang.Object
  • io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.AdvertiseBuilder

Field Summary

Modifier and TypeField and Description
pack-priv String
pack-priv int
pack-priv String
pack-priv int
pack-priv int
private final MCMPConfig.Builder
pack-priv String
pack-priv String
pack-priv String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MCMPConfig.Builder
public MCMPConfig.AdvertiseBuilder
setAdvertiseAddress(String advertiseAddress)

public MCMPConfig.AdvertiseBuilder
setAdvertiseFrequency(int advertiseFrequency)

public MCMPConfig.AdvertiseBuilder
setAdvertiseGroup(String advertiseGroup)

public MCMPConfig.AdvertiseBuilder
setAdvertisePort(int advertisePort)

public MCMPConfig.AdvertiseBuilder
setAdvertiseTtl(int advertiseTtl)

public MCMPConfig.AdvertiseBuilder
public MCMPConfig.AdvertiseBuilder
setProtocol(String protocol)

public MCMPConfig.AdvertiseBuilder
setSecurityKey(String securityKey)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

advertiseAddressback to summary
pack-priv String advertiseAddress
advertiseFrequencyback to summary
pack-priv int advertiseFrequency
advertiseGroupback to summary
pack-priv String advertiseGroup
advertisePortback to summary
pack-priv int advertisePort
advertiseTtlback to summary
pack-priv int advertiseTtl
parentback to summary
private final MCMPConfig.Builder parent
pathback to summary
pack-priv String path
protocolback to summary
pack-priv String protocol
securityKeyback to summary
pack-priv String securityKey

Constructor Detail

AdvertiseBuilderback to summary
public AdvertiseBuilder(MCMPConfig.Builder parent)

Method Detail

getParentback to summary
public MCMPConfig.Builder getParent()
setAdvertiseAddressback to summary
public MCMPConfig.AdvertiseBuilder setAdvertiseAddress(String advertiseAddress)
setAdvertiseFrequencyback to summary
public MCMPConfig.AdvertiseBuilder setAdvertiseFrequency(int advertiseFrequency)
setAdvertiseGroupback to summary
public MCMPConfig.AdvertiseBuilder setAdvertiseGroup(String advertiseGroup)
setAdvertisePortback to summary
public MCMPConfig.AdvertiseBuilder setAdvertisePort(int advertisePort)
setAdvertiseTtlback to summary
public MCMPConfig.AdvertiseBuilder setAdvertiseTtl(int advertiseTtl)
setPathback to summary
public MCMPConfig.AdvertiseBuilder setPath(String path)
setProtocolback to summary
public MCMPConfig.AdvertiseBuilder setProtocol(String protocol)
setSecurityKeyback to summary
public MCMPConfig.AdvertiseBuilder setSecurityKey(String securityKey)
io.undertow.server.handlers.proxy.mod_cluster back to summary

pack-priv Class MCMPConfig.AdvertiseConfig

extends Object
Class Inheritance
  • java.lang.Object
  • io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.AdvertiseConfig

Field Summary

Modifier and TypeField and Description
private final String
private final int
private final String
private final int
private final int
private final InetSocketAddress
private final String
private final String
private final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String
public int
public String
public int
public int
public InetSocketAddress
public String
public String
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

advertiseAddressback to summary
private final String advertiseAddress
advertiseFrequencyback to summary
private final int advertiseFrequency
advertiseGroupback to summary
private final String advertiseGroup
advertisePortback to summary
private final int advertisePort
advertiseTtlback to summary
private final int advertiseTtl
managementSocketAddressback to summary
private final InetSocketAddress managementSocketAddress
pathback to summary
private final String path
protocolback to summary
private final String protocol
securityKeyback to summary
private final String securityKey

Constructor Detail

AdvertiseConfigback to summary
pack-priv AdvertiseConfig(MCMPConfig.AdvertiseBuilder builder, MCMPConfig config)

Method Detail

getAdvertiseAddressback to summary
public String getAdvertiseAddress()
getAdvertiseFrequencyback to summary
public int getAdvertiseFrequency()
getAdvertiseGroupback to summary
public String getAdvertiseGroup()
getAdvertisePortback to summary
public int getAdvertisePort()
getAdvertiseTtlback to summary
public int getAdvertiseTtl()
getManagementSocketAddressback to summary
public InetSocketAddress getManagementSocketAddress()
getPathback to summary
public String getPath()
getProtocolback to summary
public String getProtocol()
getSecurityKeyback to summary
public String getSecurityKey()
io.undertow.server.handlers.proxy.mod_cluster back to summary

public Class MCMPConfig.Builder

extends Object
Class Inheritance
  • java.lang.Object
  • io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.Builder
Known Direct Subclasses
io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.WebBuilder

Field Summary

Modifier and TypeField and Description
pack-priv MCMPConfig.AdvertiseBuilder
pack-priv String
pack-priv int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MCMPConfig
public HttpHandler
create(final ModCluster modCluster, final HttpHandler next)

public MCMPConfig.AdvertiseBuilder
public MCMPConfig.Builder
setManagementHost(String managementHost)

public MCMPConfig.Builder
setManagementPort(int managementPort)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

advertiseBuilderback to summary
pack-priv MCMPConfig.AdvertiseBuilder advertiseBuilder
managementHostback to summary
pack-priv String managementHost
managementPortback to summary
pack-priv int managementPort

Constructor Detail

Builderback to summary
public Builder()

Method Detail

buildback to summary
public MCMPConfig build()
createback to summary
public HttpHandler create(final ModCluster modCluster, final HttpHandler next)
enableAdvertiseback to summary
public MCMPConfig.AdvertiseBuilder enableAdvertise()
setManagementHostback to summary
public MCMPConfig.Builder setManagementHost(String managementHost)
setManagementPortback to summary
public MCMPConfig.Builder setManagementPort(int managementPort)
io.undertow.server.handlers.proxy.mod_cluster back to summary

pack-priv Class MCMPConfig.MCMPWebManagerConfig

extends MCMPConfig
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final boolean
private final boolean
private final boolean

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public HttpHandler
public boolean
public boolean
public boolean
Inherited from io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig:
buildergetAdvertiseConfiggetManagementHostgetManagementPortgetManagementSocketAddresswebBuilder

Field Detail

allowCmdback to summary
private final boolean allowCmd
checkNonceback to summary
private final boolean checkNonce
reduceDisplayback to summary
private final boolean reduceDisplay

Constructor Detail

MCMPWebManagerConfigback to summary
pack-priv MCMPWebManagerConfig(MCMPConfig.WebBuilder builder)

Method Detail

createback to summary
public HttpHandler create(ModCluster modCluster, HttpHandler next)

Overrides io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.create.

Annotations
@Override
isAllowCmdback to summary
public boolean isAllowCmd()
isCheckNonceback to summary
public boolean isCheckNonce()
isReduceDisplayback to summary
public boolean isReduceDisplay()
io.undertow.server.handlers.proxy.mod_cluster back to summary

public Class MCMPConfig.WebBuilder

extends Builder
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv boolean
pack-priv boolean
Inherited from io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.Builder:
advertiseBuildermanagementHostmanagementPort

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MCMPConfig
public MCMPConfig.WebBuilder
setAllowCmd(boolean allowCmd)

public MCMPConfig.WebBuilder
setCheckNonce(boolean checkNonce)

public MCMPConfig.WebBuilder
setReduceDisplay(boolean reduceDisplay)

Inherited from io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.Builder:
createenableAdvertisesetManagementHostsetManagementPort

Field Detail

allowCmdback to summary
pack-priv boolean allowCmd
checkNonceback to summary
pack-priv boolean checkNonce
reduceDisplayback to summary
pack-priv boolean reduceDisplay

Constructor Detail

WebBuilderback to summary
public WebBuilder()

Method Detail

buildback to summary
public MCMPConfig build()

Overrides io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.Builder.build.

Annotations
@Override
setAllowCmdback to summary
public MCMPConfig.WebBuilder setAllowCmd(boolean allowCmd)
setCheckNonceback to summary
public MCMPConfig.WebBuilder setCheckNonce(boolean checkNonce)
setReduceDisplayback to summary
public MCMPConfig.WebBuilder setReduceDisplay(boolean reduceDisplay)