public static class HostProxy.Factory extends Object implements RoutingObjectFactory
RoutingObjectFactory.Context| Modifier and Type | Field and Description |
|---|---|
static int |
USE_DEFAULT_MAX_HEADER_SIZE |
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
RoutingObject |
build(List<String> fullName,
RoutingObjectFactory.Context context,
StyxObjectDefinition configBlock)
Constructs a RoutingObject instance according to configuration block.
|
static HostProxy |
createHostProxyHandler(NettyExecutor executor,
MetricRegistry metricRegistry,
com.google.common.net.HostAndPort hostAndPort,
ConnectionPoolSettings poolSettings,
TlsSettings tlsSettings,
int responseTimeoutMillis,
int maxHeaderSize,
String metricPrefix,
String objectName) |
public static final int USE_DEFAULT_MAX_HEADER_SIZE
public RoutingObject build(List<String> fullName, RoutingObjectFactory.Context context, StyxObjectDefinition configBlock)
RoutingObjectFactoryThe routing object is constructed according to the definition codified in the StyxObjectDefinition instance. Context provides access to core Styx components necessary for constructing dependant objects.
build in interface RoutingObjectFactoryfullName - a fully qualified attribute name, including parentscontext - a routing object factory contextconfigBlock - routing object configuration@NotNull public static HostProxy createHostProxyHandler(NettyExecutor executor, MetricRegistry metricRegistry, com.google.common.net.HostAndPort hostAndPort, ConnectionPoolSettings poolSettings, TlsSettings tlsSettings, int responseTimeoutMillis, int maxHeaderSize, String metricPrefix, String objectName)
Copyright © 2013–2020 Hotels.com. All rights reserved.