Skip navigation links
A B C D E F G H I J L M N O P R S T U V W Y 

A

activeOrigins() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.OriginsSnapshotMixin
 
activePlugins() - Method in class com.hotels.styx.proxy.plugin.PluginsMetadata
 
add(T) - Method in interface com.hotels.styx.infrastructure.Composite
 
add(T) - Method in class com.hotels.styx.infrastructure.MemoryBackedRegistry
 
additionalCerts() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
additionalCerts(Certificate...) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
additionalRoutingObjects(Map<String, RoutingObjectFactory>) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
additionalServices(Map<String, StyxService>) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
addListener(Registry.ChangeListener<BackendService>) - Method in class com.hotels.styx.infrastructure.RegistryServiceAdapter
 
addListener(Registry.ChangeListener<BackendService>) - Method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry
 
addStyxMixins(ObjectMapper) - Static method in class com.hotels.styx.infrastructure.configuration.json.ObjectMappers
Adds annotation mixins required to serialize/deserialize with json styx domain objects from styx-api module.
adminEndpointPath(String, String, String) - Static method in class com.hotels.styx.admin.AdminServerBuilder
 
adminHttpAddress() - Method in class com.hotels.styx.StyxServer
 
adminInterfaceHandlers() - Method in class com.hotels.styx.proxy.plugin.InstrumentedPlugin
 
adminInterfaceHandlers() - Method in class com.hotels.styx.proxy.plugin.NamedPlugin
 
adminInterfaceHandlers() - Method in class com.hotels.styx.startup.extensions.DemoPlugin
 
adminPath(String, String) - Static method in class com.hotels.styx.admin.AdminServerBuilder
 
AdminServerBuilder - Class in com.hotels.styx.admin
Builder for AdminServer.
AdminServerBuilder(StyxServerComponents) - Constructor for class com.hotels.styx.admin.AdminServerBuilder
 
AdminServerConfig - Class in com.hotels.styx.admin
xConfigurations for the Admin Server.
AdminServerConfig() - Constructor for class com.hotels.styx.admin.AdminServerConfig
 
adminServerConfig() - Method in class com.hotels.styx.StyxConfig
 
AdminServerConfig.Builder - Class in com.hotels.styx.admin
Builder.
append(List<T>, T) - Static method in class com.hotels.styx.routing.config.RoutingSupport
 
appIdAsString() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.OriginsSnapshotMixin
 
applicationsConfigurationPath() - Method in class com.hotels.styx.StyxConfig
 
apply(StyxObjectReference) - Method in interface com.hotels.styx.routing.handlers.RouteRefLookup
 
apply(StyxObjectReference) - Method in class com.hotels.styx.routing.handlers.RouteRefLookup.RouteDbRefLookup
 
as(Class<X>) - Method in class com.hotels.styx.infrastructure.configuration.yaml.JsonNodeConfig
 
as(Class<X>) - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfiguration
 
as(Class<X>) - Method in class com.hotels.styx.StyxConfig
 
authenticate() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
authenticate(boolean) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
available() - Method in class com.hotels.styx.admin.dashboard.DashboardData.ConnectionsPoolsAggregate
 
available() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin.ConnectionsPool
 

B

backends() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Downstream
 
BackendServiceClientFactory - Interface in com.hotels.styx.proxy
Creates HTTP clients for connecting to backend services.
BackendServiceMixin - Interface in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for BackendService.
BackendServiceMixin.Builder - Interface in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for BackendService.Builder.
BackendServiceProxy - Class in com.hotels.styx.routing.handlers
Deprecated.
Will be removed in Styx 1.1 release. Use a combination of HostProxy and LoadBalancingGroup, and PathPrefixRouter to achieve the same functionality.
BackendServiceProxy.Factory - Class in com.hotels.styx.routing.handlers
Deprecated.
Builds a BackendServiceProxy from yaml routing configuration.
BackendServices - Class in com.hotels.styx.applications
BackendServices represents the collection of BackendServices that a styx instance can proxy to.
backendServicesRegistry(Registry<BackendService>) - Method in class com.hotels.styx.admin.AdminServerBuilder
 
BackendServicesRouter - Class in com.hotels.styx.proxy
A HttpHandler implementation.
BackendServicesRouter(BackendServiceClientFactory, Environment, NettyExecutor) - Constructor for class com.hotels.styx.proxy.BackendServicesRouter
 
beginEncode(HttpResponse, String) - Method in class com.hotels.styx.proxy.HttpCompressor
 
build() - Method in class com.hotels.styx.admin.AdminServerBuilder
 
build() - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
build() - Method in class com.hotels.styx.admin.handlers.UrlPatternRouter.Builder
 
build() - Method in class com.hotels.styx.Environment.Builder
 
build() - Method in class com.hotels.styx.infrastructure.configuration.ConfigurationParser.Builder
 
build(GraphiteSender) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporter.Builder
Builds a GraphiteReporter with the given properties, sending metrics using the given GraphiteSender.
build() - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterService.Builder
 
build() - Method in class com.hotels.styx.proxy.InterceptorPipelineBuilder
 
build() - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
build(List<String>, RoutingObjectFactory.Context, StyxObjectConfiguration) - Static method in class com.hotels.styx.routing.config.Builtins
Buiulds a routing object.
build(StyxObjectConfiguration, Map<String, HttpInterceptorFactory>) - Static method in class com.hotels.styx.routing.config.Builtins
Builds a HTTP interceptor.
build(String, StyxObjectDefinition, <any>, Map<String, ServiceProviderFactory>, RoutingObjectFactory.Context) - Static method in class com.hotels.styx.routing.config.Builtins
Builds a Styx service.
build(StyxObjectDefinition) - Method in interface com.hotels.styx.routing.config.HttpInterceptorFactory
 
build(List<String>, RoutingObjectFactory.Context, StyxObjectDefinition) - Method in interface com.hotels.styx.routing.config.RoutingObjectFactory
Constructs a RoutingObject instance according to configuration block.
build(List<String>, RoutingObjectFactory.Context, StyxObjectDefinition) - Method in class com.hotels.styx.routing.handlers.BackendServiceProxy.Factory
Deprecated.
 
build(List<String>, RoutingObjectFactory.Context, StyxObjectDefinition) - Method in class com.hotels.styx.routing.handlers.ConditionRouter.Factory
 
build(List<String>, RoutingObjectFactory.Context, StyxObjectDefinition) - Method in class com.hotels.styx.routing.handlers.HostProxy.Factory
 
build(List<String>, RoutingObjectFactory.Context, StyxObjectDefinition) - Method in class com.hotels.styx.routing.handlers.HttpInterceptorPipeline.Factory
 
build(List<String>, RoutingObjectFactory.Context, StyxObjectDefinition) - Method in class com.hotels.styx.routing.handlers.PathPrefixRouter.Factory
 
build(List<String>, RoutingObjectFactory.Context, StyxObjectDefinition) - Method in class com.hotels.styx.routing.handlers.ProxyToBackend.Factory
Deprecated.
 
build(List<String>, RoutingObjectFactory.Context, StyxObjectDefinition) - Method in class com.hotels.styx.routing.handlers.StaticResponseHandler.Factory
 
build(StyxObjectDefinition) - Method in class com.hotels.styx.routing.interceptors.RewriteInterceptor.Factory
 
build() - Method in class com.hotels.styx.routing.StaticPipelineFactory
 
build() - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
build() - Method in class com.hotels.styx.StartupConfig.Builder
 
Builder() - Constructor for class com.hotels.styx.admin.AdminServerConfig.Builder
 
Builder() - Constructor for class com.hotels.styx.admin.handlers.UrlPatternRouter.Builder
 
Builder(String) - Constructor for class com.hotels.styx.admin.handlers.UrlPatternRouter.Builder
The pathPrefix will be prepended to the URI patterns provided in the get/post/...
Builder() - Constructor for class com.hotels.styx.Environment.Builder
 
Builder() - Constructor for class com.hotels.styx.infrastructure.configuration.ConfigurationParser.Builder
 
Builder() - Constructor for class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterService.Builder
 
Builder() - Constructor for class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
Builder() - Constructor for class com.hotels.styx.startup.StyxServerComponents.Builder
 
buildExecutor(String, StyxObjectDefinition, Map<String, ExecutorFactory>) - Static method in class com.hotels.styx.routing.config.Builtins
Builds a Styx executor object.
buildInfo(Version) - Method in class com.hotels.styx.Environment.Builder
 
buildInfo() - Method in class com.hotels.styx.Environment
 
buildNumber() - Method in class com.hotels.styx.Version
 
buildServer(String, StyxObjectDefinition, <any>, Map<String, StyxServerFactory>, RoutingObjectFactory.Context) - Static method in class com.hotels.styx.routing.config.Builtins
Builds a Styx server.
BUILTIN_EXECUTOR_FACTORIES - Static variable in class com.hotels.styx.routing.config.Builtins
 
BUILTIN_EXECUTOR_SCHEMAS - Static variable in class com.hotels.styx.routing.config.Builtins
 
BUILTIN_HANDLER_FACTORIES - Static variable in class com.hotels.styx.routing.config.Builtins
 
BUILTIN_HANDLER_SCHEMAS - Static variable in class com.hotels.styx.routing.config.Builtins
 
BUILTIN_SERVER_FACTORIES - Static variable in class com.hotels.styx.routing.config.Builtins
 
BUILTIN_SERVER_SCHEMAS - Static variable in class com.hotels.styx.routing.config.Builtins
 
BUILTIN_SERVICE_PROVIDER_FACTORIES - Static variable in class com.hotels.styx.routing.config.Builtins
 
BUILTIN_SERVICE_PROVIDER_SCHEMAS - Static variable in class com.hotels.styx.routing.config.Builtins
 
Builtins - Class in com.hotels.styx.routing.config
Contains mappings of builtin routing object and interceptor names to their factory methods.
busy() - Method in class com.hotels.styx.admin.dashboard.DashboardData.ConnectionsPoolsAggregate
 
busy() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin.ConnectionsPool
 

C

CachingSupplier<E> - Class in com.hotels.styx.admin
Caches the output of another supplier until it expires.
CachingSupplier(Supplier<? extends E>, Duration) - Constructor for class com.hotels.styx.admin.CachingSupplier
Constructs an instance that wraps sourceSupplier.
CachingSupplier(Supplier<? extends E>, Duration, Clock) - Constructor for class com.hotels.styx.admin.CachingSupplier
Constructs an instance that wraps sourceSupplier.
CertificateMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for Certificate.
channelRead(ChannelHandlerContext, Object) - Method in class com.hotels.styx.proxy.ServerProtocolDistributionRecorder
 
check() - Method in class com.hotels.styx.proxy.healthchecks.HealthCheckTimestamp
 
cipherSuites(List<String>) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
cipherSuites() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
ClassFactories - Class in com.hotels.styx.proxy
Support class for creating new instances from class names.
classPath() - Method in class com.hotels.styx.spi.config.SpiExtensionFactory
 
ClassSource - Interface in com.hotels.styx.spi
Class loader wrapper for mocking.
classSource(Path) - Method in interface com.hotels.styx.spi.ClassSourceLocator
Provides a class source representing the specified class-path.
ClassSourceLocator - Interface in com.hotels.styx.spi
Allows file-system to be mocked in the context of locating class sources (such as one or more JAR files).
clientExecutor() - Method in class com.hotels.styx.startup.StyxServerComponents
 
clientWorkerThreadsCount() - Method in class com.hotels.styx.proxy.ProxyServerConfig
 
codaHaleMetricRegistry(Environment) - Static method in class com.hotels.styx.metrics.reporting.MetricRegistryConstraints
If the MetricRegistry is a CodaHaleMetricRegistry, extracts and returns the MetricRegistry, otherwise throws an exception.
CodaHaleMetricRegistryMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for CodaHaleMetricRegistry.
CodaHaleMetricRegistryMixin() - Constructor for class com.hotels.styx.infrastructure.configuration.json.mixins.CodaHaleMetricRegistryMixin
 
com.hotels.styx - package com.hotels.styx
 
com.hotels.styx.admin - package com.hotels.styx.admin
 
com.hotels.styx.admin.dashboard - package com.hotels.styx.admin.dashboard
 
com.hotels.styx.admin.handlers - package com.hotels.styx.admin.handlers
 
com.hotels.styx.admin.handlers.json - package com.hotels.styx.admin.handlers.json
 
com.hotels.styx.admin.support - package com.hotels.styx.admin.support
 
com.hotels.styx.admin.tasks - package com.hotels.styx.admin.tasks
 
com.hotels.styx.applications - package com.hotels.styx.applications
 
com.hotels.styx.applications.yaml - package com.hotels.styx.applications.yaml
 
com.hotels.styx.infrastructure - package com.hotels.styx.infrastructure
 
com.hotels.styx.infrastructure.configuration - package com.hotels.styx.infrastructure.configuration
 
com.hotels.styx.infrastructure.configuration.json - package com.hotels.styx.infrastructure.configuration.json
 
com.hotels.styx.infrastructure.configuration.json.mixins - package com.hotels.styx.infrastructure.configuration.json.mixins
 
com.hotels.styx.infrastructure.configuration.yaml - package com.hotels.styx.infrastructure.configuration.yaml
 
com.hotels.styx.infrastructure.logging - package com.hotels.styx.infrastructure.logging
 
com.hotels.styx.metrics.reporting - package com.hotels.styx.metrics.reporting
 
com.hotels.styx.metrics.reporting.graphite - package com.hotels.styx.metrics.reporting.graphite
 
com.hotels.styx.metrics.reporting.jmx - package com.hotels.styx.metrics.reporting.jmx
 
com.hotels.styx.metrics.reporting.sets - package com.hotels.styx.metrics.reporting.sets
 
com.hotels.styx.proxy - package com.hotels.styx.proxy
 
com.hotels.styx.proxy.backends.file - package com.hotels.styx.proxy.backends.file
 
com.hotels.styx.proxy.encoders - package com.hotels.styx.proxy.encoders
 
com.hotels.styx.proxy.healthchecks - package com.hotels.styx.proxy.healthchecks
 
com.hotels.styx.proxy.interceptors - package com.hotels.styx.proxy.interceptors
 
com.hotels.styx.proxy.plugin - package com.hotels.styx.proxy.plugin
 
com.hotels.styx.routing - package com.hotels.styx.routing
 
com.hotels.styx.routing.config - package com.hotels.styx.routing.config
 
com.hotels.styx.routing.handlers - package com.hotels.styx.routing.handlers
 
com.hotels.styx.routing.interceptors - package com.hotels.styx.routing.interceptors
 
com.hotels.styx.serviceproviders - package com.hotels.styx.serviceproviders
 
com.hotels.styx.spi - package com.hotels.styx.spi
 
com.hotels.styx.spi.config - package com.hotels.styx.spi.config
 
com.hotels.styx.startup - package com.hotels.styx.startup
 
com.hotels.styx.startup.extensions - package com.hotels.styx.startup.extensions
 
compareTo(IndexHandler.Link) - Method in class com.hotels.styx.admin.handlers.IndexHandler.Link
 
Composite<T> - Interface in com.hotels.styx.infrastructure
Implementers of this interface will allow the ability to compose their state with the others.
CONDITION_ROUTER - Static variable in class com.hotels.styx.routing.config.Builtins
 
ConditionRouter - Class in com.hotels.styx.routing.handlers
Condition predicate based HTTP router.
ConditionRouter.Factory - Class in com.hotels.styx.routing.handlers
Builds a condition router from the yaml routing configuration.
config() - Method in class com.hotels.styx.routing.config.StyxObjectDefinition
 
config(Class<T>) - Method in class com.hotels.styx.routing.config.StyxObjectDefinition
 
config() - Method in class com.hotels.styx.spi.config.ServiceFactoryConfig
 
config() - Method in class com.hotels.styx.spi.config.SpiExtension
 
config(Class<T>) - Method in class com.hotels.styx.spi.config.SpiExtension
 
configFileLocation(String) - Method in class com.hotels.styx.StartupConfig.Builder
 
configFileLocation() - Method in class com.hotels.styx.StartupConfig
 
configSource(String) - Static method in interface com.hotels.styx.infrastructure.configuration.ConfigurationSource
Configuration taken from a string in memory.
configSource(Resource) - Static method in interface com.hotels.styx.infrastructure.configuration.ConfigurationSource
Configuration from a resource.
ConfigurableUnwiseCharsEncoder - Class in com.hotels.styx.proxy.encoders
Unwise chars encoder that gets what to code from configuration.
ConfigurableUnwiseCharsEncoder(String) - Constructor for class com.hotels.styx.proxy.encoders.ConfigurableUnwiseCharsEncoder
 
ConfigurableUnwiseCharsEncoder(StyxConfig) - Constructor for class com.hotels.styx.proxy.encoders.ConfigurableUnwiseCharsEncoder
 
ConfigurableUnwiseCharsEncoder(StyxConfig, Logger) - Constructor for class com.hotels.styx.proxy.encoders.ConfigurableUnwiseCharsEncoder
 
ConfigurableUnwiseCharsEncoder(String, Logger) - Constructor for class com.hotels.styx.proxy.encoders.ConfigurableUnwiseCharsEncoder
 
configuration(StyxConfig) - Method in class com.hotels.styx.Environment.Builder
 
configuration() - Method in class com.hotels.styx.Environment
 
configuration(Configuration) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
ConfigurationContextResolverInterceptor - Class in com.hotels.styx.proxy.interceptors
Interceptor that populates the chain with configuration context.
ConfigurationContextResolverInterceptor(ConfigurationContextResolver) - Constructor for class com.hotels.styx.proxy.interceptors.ConfigurationContextResolverInterceptor
 
ConfigurationFormat<C extends ExtensibleConfiguration<C>> - Interface in com.hotels.styx.infrastructure.configuration
Format for configuration, e.g.
ConfigurationParser<C extends ExtensibleConfiguration<C>> - Class in com.hotels.styx.infrastructure.configuration
Configuration parser.
ConfigurationParser.Builder<C extends ExtensibleConfiguration<C>> - Class in com.hotels.styx.infrastructure.configuration
Builder.
ConfigurationSource - Interface in com.hotels.styx.infrastructure.configuration
Provider of configuration, e.g.
ConfiguredPluginFactory - Class in com.hotels.styx.startup.extensions
Collects a plugin factory together with its name and a source of configuration.
ConfiguredPluginFactory(String, PluginFactory, Function<Class<?>, Object>) - Constructor for class com.hotels.styx.startup.extensions.ConfiguredPluginFactory
 
ConfiguredPluginFactory(String, PluginFactory) - Constructor for class com.hotels.styx.startup.extensions.ConfiguredPluginFactory
 
ConfiguredPluginFactory(String, PluginFactory, Object) - Constructor for class com.hotels.styx.startup.extensions.ConfiguredPluginFactory
 
configVersion(StyxConfig) - Static method in class com.hotels.styx.routing.config.ConfigVersionResolver
 
ConfigVersionResolver - Class in com.hotels.styx.routing.config
Works out the Styx configuration version for backwards compatibility purposes.
ConfigVersionResolver.Version - Enum in com.hotels.styx.routing.config
Routing configuration version.
connectionExpirationSeconds() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.ConnectionPoolSettingsMixin
 
connectionPool() - Method in class com.hotels.styx.routing.handlers.HostProxy.HostProxyConfiguration
 
connectionPoolConfig(ConnectionPoolSettings) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
connectionPoolConfig() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
ConnectionPoolSettingsMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for ConnectionPoolSettings.
connectionsPool() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin
 
connectTimeoutMillis() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.ConnectionPoolSettingsMixin
 
Context(RouteRefLookup, Environment, <any>, Map<String, RoutingObjectFactory>, Iterable<NamedPlugin>, Map<String, HttpInterceptorFactory>, boolean, <any>) - Constructor for class com.hotels.styx.routing.config.RoutingObjectFactory.Context
 
convert(ILoggingEvent) - Method in class com.hotels.styx.infrastructure.logging.ExceptionConverter
 
convertDurationsTo(TimeUnit) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporter.Builder
Convert durations to the given time unit.
convertRatesTo(TimeUnit) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporter.Builder
Convert rates to the given time unit.
CoreMetrics - Class in com.hotels.styx.startup
Core metrics - JVM details, Styx version.
count() - Method in class com.hotels.styx.admin.dashboard.DashboardData.MeterData
 
create(Supplier<?>, Module...) - Static method in class com.hotels.styx.admin.dashboard.JsonSupplier
Constructs an instance.
create(Supplier<?>, boolean, Module...) - Static method in class com.hotels.styx.admin.dashboard.JsonSupplier
Constructs an instance.
create(String, JsonNode) - Method in interface com.hotels.styx.ExecutorFactory
Create an executor instance.
create(Environment, Configuration) - Method in class com.hotels.styx.infrastructure.MemoryBackedRegistry.Factory
 
create(Environment, Configuration) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterServiceFactory
 
create(Environment, Configuration) - Method in class com.hotels.styx.metrics.reporting.jmx.JmxReporterServiceFactory
 
create(String) - Static method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry
 
create(Environment, Configuration) - Method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry.Factory
 
create(ConnectorConfig) - Method in class com.hotels.styx.ProxyConnectorFactory
 
create(String, RoutingObjectFactory.Context, JsonNode, <any>) - Method in interface com.hotels.styx.serviceproviders.ServiceProviderFactory
Create a service provider instance.
create(String, RoutingObjectFactory.Context, JsonNode, <any>) - Method in interface com.hotels.styx.serviceproviders.StyxServerFactory
Create a service provider instance.
create(PluginFactory.Environment) - Method in class com.hotels.styx.startup.extensions.DemoPlugin.Factory
 
create() - Method in class com.hotels.styx.StyxPipelineFactory
 
createClient(BackendService, OriginsInventory, OriginStatsFactory) - Method in interface com.hotels.styx.proxy.BackendServiceClientFactory
 
createClient(BackendService, OriginsInventory, OriginStatsFactory) - Method in class com.hotels.styx.proxy.StyxBackendServiceClientFactory
 
createHostProxyHandler(NettyExecutor, MetricRegistry, HostAndPort, ConnectionPoolSettings, TlsSettings, int, int, String, String) - Static method in class com.hotels.styx.routing.handlers.HostProxy.Factory
 
CurrentRequestsHandler - Class in com.hotels.styx.admin.handlers
Admin handler that will help in tracking only the current HTTP requests to Styx.
CurrentRequestsHandler(CurrentRequestTracker) - Constructor for class com.hotels.styx.admin.handlers.CurrentRequestsHandler
 

D

DashboardData - Class in com.hotels.styx.admin.dashboard
Data to be converted to JSON for the dashboard.
DashboardData(MetricRegistry, Registry<BackendService>, String, Version, EventBus) - Constructor for class com.hotels.styx.admin.dashboard.DashboardData
 
DashboardData.Backend - Class in com.hotels.styx.admin.dashboard
Application-related data.
DashboardData.ConnectionsPoolsAggregate - Class in com.hotels.styx.admin.dashboard
Aggregation of connection pools data.
DashboardData.Downstream - Class in com.hotels.styx.admin.dashboard
Data related to all origins.
DashboardData.MeterData - Class in com.hotels.styx.admin.dashboard
Success data.
DashboardData.Origin - Class in com.hotels.styx.admin.dashboard
Origin-related data.
DashboardData.Origin.ConnectionsPool - Class in com.hotels.styx.admin.dashboard
Connection-pool-related data.
DashboardData.Requests - Class in com.hotels.styx.admin.dashboard
Requests-related data.
DashboardData.Server - Class in com.hotels.styx.admin.dashboard
Styx-related data.
DashboardData.TimerData - Class in com.hotels.styx.admin.dashboard
Latency.
DashboardDataSupplier - Class in com.hotels.styx.admin.dashboard
Supplier of the DashboardData.
DashboardDataSupplier(Registry<BackendService>, Environment, StyxConfig) - Constructor for class com.hotels.styx.admin.dashboard.DashboardDataSupplier
 
DEFAULT_ADMIN_PORT - Static variable in class com.hotels.styx.admin.AdminServerConfig
 
DEFAULT_REFERENCE_LOOKUP - Static variable in class com.hotels.styx.routing.config.Builtins
 
defaultConfig() - Static method in class com.hotels.styx.StyxConfig
 
defaultValue() - Method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver.Placeholder
 
delete(String, WebServiceHandler) - Method in class com.hotels.styx.admin.handlers.UrlPatternRouter.Builder
 
DemoConfig(String, String) - Constructor for class com.hotels.styx.startup.extensions.DemoPlugin.DemoConfig
 
DemoPlugin - Class in com.hotels.styx.startup.extensions
A demo plugin.
DemoPlugin.DemoConfig - Class in com.hotels.styx.startup.extensions
Configuration for demo plugin.
DemoPlugin.Factory - Class in com.hotels.styx.startup.extensions
Factory for constructing demo plugin.
deserialise(String) - Method in interface com.hotels.styx.infrastructure.configuration.ConfigurationFormat
Deserialise configuration from a literal string.
deserialise(Resource) - Method in interface com.hotels.styx.infrastructure.configuration.ConfigurationFormat
Deserialise configuration from a resource.
deserialise(ConfigurationFormat<C>) - Method in interface com.hotels.styx.infrastructure.configuration.ConfigurationSource
Deserialise configuration that is in a given format.
deserialise(String) - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfigurationFormat
 
deserialise(Resource) - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfigurationFormat
 
destination() - Method in class com.hotels.styx.routing.handlers.PathPrefixRouter.PathPrefixConfig
 
DISABLED - Static variable in interface com.hotels.styx.proxy.backends.file.FileMonitor
 
disabledOrigins() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.OriginsSnapshotMixin
 
DO_NOT_MODIFY - Static variable in interface com.hotels.styx.startup.StyxServerComponents.LoggingSetUp
 
doHandle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.CurrentRequestsHandler
 
doHandle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.IndexHandler
 
doHandle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.JsonHandler
 
doHandle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.OriginsHandler
 
doHandle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.OriginsInventoryHandler
 
doHandle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.PingHandler
 
doHandle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.ThreadsHandler
 
doHandle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.tasks.OriginsCommandHandler
 
doStart() - Method in class com.hotels.styx.StyxServer
 
doStop() - Method in class com.hotels.styx.StyxServer
 
downstream() - Method in class com.hotels.styx.admin.dashboard.DashboardData
 

E

elements() - Method in class com.hotels.styx.infrastructure.configuration.yaml.NodePath
 
enabled() - Method in class com.hotels.styx.proxy.plugin.NamedPlugin
Returns true if the plugin is enabled, false if disabled.
enabled() - Method in class com.hotels.styx.spi.config.ServiceFactoryConfig
 
enabled() - Method in class com.hotels.styx.spi.config.SpiExtension
 
encode(String) - Method in class com.hotels.styx.proxy.encoders.ConfigurableUnwiseCharsEncoder
 
ENCODE_UNWISECHARS - Static variable in class com.hotels.styx.proxy.encoders.ConfigurableUnwiseCharsEncoder
 
Environment - Class in com.hotels.styx
Environment: metrics, health check, build info, event bus.
environment() - Method in class com.hotels.styx.routing.config.RoutingObjectFactory.Context
 
environment() - Method in class com.hotels.styx.startup.StyxServerComponents
 
Environment.Builder - Class in com.hotels.styx
Builder for Environment.
equals(Object) - Method in class com.hotels.styx.admin.handlers.IndexHandler.Link
 
equals(Object) - Method in class com.hotels.styx.applications.BackendServices
 
equals(Object) - Method in class com.hotels.styx.infrastructure.configuration.UnresolvedPlaceholder
 
equals(Object) - Method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver.Placeholder
 
equals(Object) - Method in class com.hotels.styx.routing.config.StyxObjectReference
 
equals(Object) - Method in class com.hotels.styx.spi.config.SpiExtension
 
equals(Object) - Method in class com.hotels.styx.spi.config.SpiExtensionFactory
 
equals(Object) - Method in class com.hotels.styx.Version
 
errorListener() - Method in class com.hotels.styx.Environment
 
errorMessage() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.ErrorResponseMixin
 
errorPercentage() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Requests
 
errorRate() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Requests
 
ErrorResponseMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for ErrorResponse.
eventBus(EventBus) - Method in class com.hotels.styx.Environment.Builder
 
eventBus() - Method in class com.hotels.styx.Environment
 
ExceptionConverter - Class in com.hotels.styx.infrastructure.logging
Logback converter to log Splunk friendly exception data.
ExceptionConverter() - Constructor for class com.hotels.styx.infrastructure.logging.ExceptionConverter
 
executor() - Method in class com.hotels.styx.routing.handlers.HostProxy.HostProxyConfiguration
 
ExecutorFactory - Interface in com.hotels.styx
A generic factory that can be implemented to create executor objects whose type is not known until read from configuration.
executors() - Method in class com.hotels.styx.routing.config.RoutingObjectFactory.Context
 
executors() - Method in class com.hotels.styx.startup.StyxServerComponents
 
ExtensibleConfiguration<C extends ExtensibleConfiguration<C>> - Interface in com.hotels.styx.infrastructure.configuration
Extensible configuration, interface is agnostic to how it is stored in memory.
ExtensibleConfiguration.PlaceholderResolutionResult<C extends ExtensibleConfiguration<C>> - Class in com.hotels.styx.infrastructure.configuration
The outcome of resolving placeholders.
EXTENSION_OBJECT_FACTORY - Static variable in class com.hotels.styx.spi.ExtensionObjectFactory
 
ExtensionLoadingException - Exception in com.hotels.styx.spi
Exception that is thrown if something goes wrong while attempting to load and instantiate an extension object.
ExtensionLoadingException() - Constructor for exception com.hotels.styx.spi.ExtensionLoadingException
 
ExtensionLoadingException(String) - Constructor for exception com.hotels.styx.spi.ExtensionLoadingException
 
ExtensionLoadingException(String, Throwable) - Constructor for exception com.hotels.styx.spi.ExtensionLoadingException
 
ExtensionLoadingException(Throwable) - Constructor for exception com.hotels.styx.spi.ExtensionLoadingException
 
ExtensionObjectFactory - Class in com.hotels.styx.spi
Instantiates objects defined in SPI extensions.
extractPlaceholders(String) - Static method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver
 

F

Factory() - Constructor for class com.hotels.styx.infrastructure.MemoryBackedRegistry.Factory
 
Factory() - Constructor for class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry.Factory
 
Factory(Environment, Map<String, Registry<BackendService>>) - Constructor for class com.hotels.styx.routing.handlers.BackendServiceProxy.Factory
Deprecated.
 
Factory() - Constructor for class com.hotels.styx.routing.handlers.ConditionRouter.Factory
 
Factory() - Constructor for class com.hotels.styx.routing.handlers.HostProxy.Factory
 
Factory() - Constructor for class com.hotels.styx.routing.handlers.HttpInterceptorPipeline.Factory
 
Factory() - Constructor for class com.hotels.styx.routing.handlers.PathPrefixRouter.Factory
 
Factory() - Constructor for class com.hotels.styx.routing.handlers.ProxyToBackend.Factory
Deprecated.
 
Factory() - Constructor for class com.hotels.styx.routing.handlers.StaticResponseHandler.Factory
 
Factory() - Constructor for class com.hotels.styx.routing.interceptors.RewriteInterceptor.Factory
 
factory() - Method in class com.hotels.styx.spi.config.ServiceFactoryConfig
 
factory() - Method in class com.hotels.styx.spi.config.SpiExtension
 
Factory() - Constructor for class com.hotels.styx.startup.extensions.DemoPlugin.Factory
 
factoryClass() - Method in class com.hotels.styx.spi.config.SpiExtensionFactory
 
FileBackedBackendServicesRegistry - Class in com.hotels.styx.proxy.backends.file
File backed BackendService registry.
FileBackedBackendServicesRegistry.Factory - Class in com.hotels.styx.proxy.backends.file
Factory for creating a FileBackedBackendServicesRegistry.
FileBackedRegistry<T extends Identifiable> - Class in com.hotels.styx.infrastructure
File backed registry for T.
FileBackedRegistry(Resource, FileBackedRegistry.Reader<T>, Predicate<Collection<T>>) - Constructor for class com.hotels.styx.infrastructure.FileBackedRegistry
 
FileBackedRegistry.Reader<T> - Interface in com.hotels.styx.infrastructure
Reader.
fileChanged() - Method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry
 
fileChanged() - Method in interface com.hotels.styx.proxy.backends.file.FileMonitor.Listener
 
FileChangeMonitor - Class in com.hotels.styx.proxy.backends.file
Monitors a file system object and notifies the consumer of any changes.
FileChangeMonitor(String, Duration, Duration) - Constructor for class com.hotels.styx.proxy.backends.file.FileChangeMonitor
 
FileChangeMonitor(String) - Constructor for class com.hotels.styx.proxy.backends.file.FileChangeMonitor
 
FileMonitor - Interface in com.hotels.styx.proxy.backends.file
FileMonitor watches a file and notifies when it changes.
FileMonitor.Listener - Interface in com.hotels.styx.proxy.backends.file
A Listener to receive file change notifications.
fileName() - Method in class com.hotels.styx.infrastructure.FileBackedRegistry
 
FileSystemPluginFactoryLoader - Class in com.hotels.styx.proxy.plugin
Loads a named plugin from file system.
FileSystemPluginFactoryLoader() - Constructor for class com.hotels.styx.proxy.plugin.FileSystemPluginFactoryLoader
 
filter(MetricFilter) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporter.Builder
Only report metrics which match the given filter.
findMatchingDescendant(JsonNode) - Method in class com.hotels.styx.infrastructure.configuration.yaml.NodePath
 
first() - Method in class com.hotels.styx.applications.BackendServices
Returns the first application from this object.
format(ConfigurationFormat<C>) - Method in class com.hotels.styx.infrastructure.configuration.ConfigurationParser.Builder
 
format(LiveHttpRequest) - Method in class com.hotels.styx.ResponseInfoFormat
 
forRegistry(MetricRegistry) - Static method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporter
fromClassLoader(ClassLoader) - Static method in interface com.hotels.styx.spi.ClassSource
 
fromYaml(String) - Static method in class com.hotels.styx.StyxConfig
Parses StyxConfig from YAML.
fromYaml(String, boolean) - Static method in class com.hotels.styx.StyxConfig
Parses StyxConfig from YAML.

G

get() - Method in class com.hotels.styx.admin.CachingSupplier
 
get() - Method in class com.hotels.styx.admin.dashboard.DashboardDataSupplier
 
get() - Method in class com.hotels.styx.admin.dashboard.JsonSupplier
 
get(String, WebServiceHandler) - Method in class com.hotels.styx.admin.handlers.UrlPatternRouter.Builder
 
get() - Method in class com.hotels.styx.applications.yaml.YamlApplicationsProvider
 
get(String) - Method in class com.hotels.styx.infrastructure.configuration.yaml.JsonNodeConfig
 
get(String, Class<T>) - Method in class com.hotels.styx.infrastructure.configuration.yaml.JsonNodeConfig
 
get(String, Class<T>) - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfiguration
 
get() - Method in class com.hotels.styx.infrastructure.RegistryServiceAdapter
 
get() - Method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry
 
get() - Method in class com.hotels.styx.proxy.LoadBalancingStrategyFactoryProvider
 
get(String, Class<T>) - Method in class com.hotels.styx.StyxConfig
 
get(String) - Method in class com.hotels.styx.StyxConfig
 
getMetricRegistry() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.CodaHaleMetricRegistryMixin
 
getMetrics() - Method in class com.hotels.styx.metrics.reporting.sets.NettyAllocatorMetricSet
 
getMetrics() - Method in class com.hotels.styx.metrics.reporting.sets.OperatingSystemMetricSet
 
getSniHost() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
getTlsSettings() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
getUri() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin
 
GraphiteConfig - Class in com.hotels.styx.metrics.reporting.graphite
Configuration for graphite.
GraphiteReporter - Class in com.hotels.styx.metrics.reporting.graphite
A reporter which publishes metric values to a Graphite server.
GraphiteReporter.Builder - Class in com.hotels.styx.metrics.reporting.graphite
A builder for GraphiteReporter instances.
GraphiteReporterService - Class in com.hotels.styx.metrics.reporting.graphite
Builds graphite reporter from configuration and wraps it in service interface.
GraphiteReporterService.Builder - Class in com.hotels.styx.metrics.reporting.graphite
Builder for reporter service.
GraphiteReporterServiceFactory - Class in com.hotels.styx.metrics.reporting.graphite
A factory that produces GraphiteReporterService.
GraphiteReporterServiceFactory() - Constructor for class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterServiceFactory
 
graphiteSender(GraphiteSender) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterService.Builder
 

H

handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.LoggingConfigurationHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.MetricsHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.PluginListHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.PluginToggleHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.ProviderListHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.ProviderRoutingHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.RoutingObjectHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.ServiceProviderHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.StyxConfigurationHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.UptimeHandler
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.handlers.UrlPatternRouter
 
handle(HttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.admin.tasks.OriginsReloadCommandHandler
 
handle(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.proxy.RouteHandlerAdapter
 
handle(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.routing.handlers.BackendServiceProxy
Deprecated.
 
handle(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.routing.handlers.HostProxy
 
handle(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.routing.handlers.HttpInterceptorPipeline
 
handle(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.routing.handlers.ProxyToBackend
Deprecated.
 
handle(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.routing.handlers.StaticResponseHandler
 
handle(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.routing.RoutingMetadataDecorator
 
hasDefaultValue() - Method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver.Placeholder
 
hashCode() - Method in class com.hotels.styx.admin.handlers.IndexHandler.Link
 
hashCode() - Method in class com.hotels.styx.applications.BackendServices
 
hashCode() - Method in class com.hotels.styx.infrastructure.configuration.UnresolvedPlaceholder
 
hashCode() - Method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver.Placeholder
 
hashCode() - Method in class com.hotels.styx.routing.config.StyxObjectReference
 
hashCode() - Method in class com.hotels.styx.spi.config.SpiExtension
 
hashCode() - Method in class com.hotels.styx.spi.config.SpiExtensionFactory
 
hashCode() - Method in class com.hotels.styx.Version
 
HEALTH_CHECK_MONITOR - Static variable in class com.hotels.styx.routing.config.Builtins
 
healthCheckConfig(HealthCheckConfig) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
healthCheckConfig() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
HealthCheckConfigMixin - Interface in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for HealthCheckConfig.
HealthCheckConfigMixin.Builder - Interface in com.hotels.styx.infrastructure.configuration.json.mixins
A builder of HealthCheckConfigMixins.
HealthCheckTimestamp - Class in com.hotels.styx.proxy.healthchecks
A health check that returns a healthy result with a timestamp as its message.
HealthCheckTimestamp() - Constructor for class com.hotels.styx.proxy.healthchecks.HealthCheckTimestamp
 
HealthCheckTimestamp(Clock) - Constructor for class com.hotels.styx.proxy.healthchecks.HealthCheckTimestamp
 
healthyThreshold(int) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin.Builder
 
healthyThreshold() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin
 
HopByHopHeadersRemovingInterceptor - Class in com.hotels.styx.proxy.interceptors
Removes Hop-By-Hop headers.
HopByHopHeadersRemovingInterceptor() - Constructor for class com.hotels.styx.proxy.interceptors.HopByHopHeadersRemovingInterceptor
 
host() - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteConfig
 
host() - Method in class com.hotels.styx.routing.handlers.HostProxy.HostProxyConfiguration
 
HOST_PROXY - Static variable in class com.hotels.styx.routing.config.Builtins
 
hostAndPortString() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.OriginMixin
 
HostProxy - Class in com.hotels.styx.routing.handlers
A routing object that proxies all incoming traffic to a remote host.
HostProxy(String, int, StyxHostHttpClient, OriginMetrics) - Constructor for class com.hotels.styx.routing.handlers.HostProxy
 
HostProxy.Factory - Class in com.hotels.styx.routing.handlers
A factory for creating HostProxy routingObject objects.
HostProxy.HostProxyConfiguration - Class in com.hotels.styx.routing.handlers
HostProxy configuration.
HostProxyConfiguration(String, ConnectionPoolSettings, TlsSettings, int, int, String, String) - Constructor for class com.hotels.styx.routing.handlers.HostProxy.HostProxyConfiguration
 
HttpCompressor - Class in com.hotels.styx.proxy
Compress HTTP responses if the encoding type is compressable.
HttpCompressor() - Constructor for class com.hotels.styx.proxy.HttpCompressor
 
HttpErrorStatusCauseLogger - Class in com.hotels.styx.proxy
Wrapper for HttpErrorStatusListener that also logs Throwables.
HttpErrorStatusCauseLogger(HttpMessageFormatter) - Constructor for class com.hotels.styx.proxy.HttpErrorStatusCauseLogger
 
HttpErrorStatusMetrics - Class in com.hotels.styx.proxy
An error listener that reports error metrics to a MetricRegistry.
HttpErrorStatusMetrics(MetricRegistry) - Constructor for class com.hotels.styx.proxy.HttpErrorStatusMetrics
Construct a reporter with a given registry to report to.
HttpInterceptorFactory - Interface in com.hotels.styx.routing.config
Builder for built-in interceptors.
HttpInterceptorPipeline - Class in com.hotels.styx.routing.handlers
A HTTP handler that contains HTTP interceptor pipeline.
HttpInterceptorPipeline(List<HttpInterceptor>, RoutingObject, boolean) - Constructor for class com.hotels.styx.routing.handlers.HttpInterceptorPipeline
 
HttpInterceptorPipeline.Factory - Class in com.hotels.styx.routing.handlers
An yaml config based builder for HttpInterceptorPipeline.
httpMessageFormatter(HttpMessageFormatter) - Method in class com.hotels.styx.Environment.Builder
 
httpMessageFormatter() - Method in class com.hotels.styx.Environment
 
HttpMessageLoggingInterceptor - Class in com.hotels.styx.proxy.interceptors
Logs requests and responses when enabled.
HttpMessageLoggingInterceptor(boolean, HttpMessageFormatter) - Constructor for class com.hotels.styx.proxy.interceptors.HttpMessageLoggingInterceptor
 
httpPort(int) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
https(TlsSettings) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
httpsOld(TlsSettings) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 

I

id() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Backend
 
id() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin
 
id() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Server
 
id(String) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
id(String) - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.IdMixin
 
idAsString() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
idAsString() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.OriginMixin
 
IdMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
An identifier.
IdMixin(String) - Constructor for class com.hotels.styx.infrastructure.configuration.json.mixins.IdMixin
 
inactiveOrigins() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.OriginsSnapshotMixin
 
IndexHandler - Class in com.hotels.styx.admin.handlers
Generates an index page for the registered handlers.
IndexHandler(Iterable<IndexHandler.Link>) - Constructor for class com.hotels.styx.admin.handlers.IndexHandler
Constructs an instance with given links.
IndexHandler.Link - Class in com.hotels.styx.admin.handlers
A link to be displayed in the IndexHandler.
initLogging(String, boolean) - Static method in class com.hotels.styx.infrastructure.logging.LOGBackConfigurer
Initialize LOGBack from the given URL.
initLogging(URL, boolean) - Static method in class com.hotels.styx.infrastructure.logging.LOGBackConfigurer
Initialize LOGBack from the given URL.
InstrumentedPlugin - Class in com.hotels.styx.proxy.plugin
Collects metrics on plugin.
InstrumentedPlugin(NamedPlugin, Environment) - Constructor for class com.hotels.styx.proxy.plugin.InstrumentedPlugin
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.proxy.interceptors.ConfigurationContextResolverInterceptor
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.proxy.interceptors.HopByHopHeadersRemovingInterceptor
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.proxy.interceptors.HttpMessageLoggingInterceptor
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.proxy.interceptors.RequestEnrichingInterceptor
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.proxy.interceptors.TcpTunnelRequestRejector
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.proxy.interceptors.UnexpectedRequestContentLengthRemover
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.proxy.interceptors.ViaHeaderAppendingInterceptor
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.proxy.plugin.InstrumentedPlugin
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.proxy.plugin.NamedPlugin
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.routing.interceptors.RewriteInterceptor
 
intercept(LiveHttpRequest, HttpInterceptor.Chain) - Method in class com.hotels.styx.startup.extensions.DemoPlugin
 
INTERCEPTOR_FACTORIES - Static variable in class com.hotels.styx.routing.config.Builtins
 
INTERCEPTOR_PIPELINE - Static variable in class com.hotels.styx.routing.config.Builtins
 
INTERCEPTOR_SCHEMAS - Static variable in class com.hotels.styx.routing.config.Builtins
 
interceptorFactories() - Method in class com.hotels.styx.routing.config.RoutingObjectFactory.Context
 
InterceptorPipelineBuilder - Class in com.hotels.styx.proxy
Builds a Styx HTTP pipeline NamedPlugins and a configured handler.
InterceptorPipelineBuilder(Environment, Iterable<NamedPlugin>, RoutingObject, boolean) - Constructor for class com.hotels.styx.proxy.InterceptorPipelineBuilder
 
interval(long) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin.Builder
 
intervalMillis() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin
 
intervalMillis() - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteConfig
 
IOAction - Interface in com.hotels.styx.metrics.reporting.graphite
Interface to represent an Action/Procedure (it has no input parameters and returns nothing) which can throw an IOException.
isEnabled() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin
 
iterator() - Method in class com.hotels.styx.applications.BackendServices
 
iterator() - Method in class com.hotels.styx.proxy.plugin.PluginsMetadata
 

J

JARS - Static variable in interface com.hotels.styx.spi.ClassSourceLocator
 
JmxReporterService - Class in com.hotels.styx.metrics.reporting.jmx
Builds JMX reporter from configuration and wraps it in service interface.
JmxReporterService(String, MetricRegistry) - Constructor for class com.hotels.styx.metrics.reporting.jmx.JmxReporterService
 
JmxReporterServiceFactory - Class in com.hotels.styx.metrics.reporting.jmx
A factory that produces JmxReporterService.
JmxReporterServiceFactory() - Constructor for class com.hotels.styx.metrics.reporting.jmx.JmxReporterServiceFactory
 
Json - Class in com.hotels.styx.admin.support
Provide defaults for JSON, such as a pretty-printer that always uses unix-style line-separators regardless of the platform it is run on.
JsonHandler<E> - Class in com.hotels.styx.admin.handlers
Handler for returning JSON.
JsonHandler(E, Optional<Duration>, Module...) - Constructor for class com.hotels.styx.admin.handlers.JsonHandler
Constructs an instance.
JsonHandler(Supplier<E>, Optional<Duration>, Module...) - Constructor for class com.hotels.styx.admin.handlers.JsonHandler
Constructs an instance.
JsonNodeConfig - Class in com.hotels.styx.infrastructure.configuration.yaml
Configuration from a jackson JSON node.
JsonNodeConfig(JsonNode) - Constructor for class com.hotels.styx.infrastructure.configuration.yaml.JsonNodeConfig
Construct an instance from a JSON node.
JsonNodeConfig(JsonNode, ObjectMapper) - Constructor for class com.hotels.styx.infrastructure.configuration.yaml.JsonNodeConfig
Construct an instance from a JSON node.
JsonReformatter - Class in com.hotels.styx.admin.handlers.json
Reformats JSON.
JsonSupplier - Class in com.hotels.styx.admin.dashboard
A supplier that serialises the output of another supplier into JSON.
JVMMetricsHandler - Class in com.hotels.styx.admin.handlers
Handler for showing the JVM statistics.
JVMMetricsHandler(MetricRegistry, Optional<Duration>) - Constructor for class com.hotels.styx.admin.handlers.JVMMetricsHandler
Constructs a new handler.

L

lastElement() - Method in class com.hotels.styx.infrastructure.configuration.yaml.NodePath
 
latency() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Requests
 
link(String, String) - Static method in class com.hotels.styx.admin.handlers.IndexHandler.Link
Create a link.
load(SpiExtension) - Method in class com.hotels.styx.proxy.plugin.FileSystemPluginFactoryLoader
 
load(SpiExtension) - Method in interface com.hotels.styx.proxy.plugin.PluginFactoryLoader
 
load(String) - Method in interface com.hotels.styx.spi.ClassSource
Attempts to load a class with a specified name.
load(Environment, <any>) - Method in interface com.hotels.styx.startup.ServicesLoader
 
load() - Static method in class com.hotels.styx.StartupConfig
 
LOAD_BALANCING_GROUP - Static variable in class com.hotels.styx.routing.config.Builtins
 
loadApplicationsFrom(String) - Static method in class com.hotels.styx.applications.yaml.YamlApplicationsProvider
 
LoadBalancingStrategyFactoryProvider - Class in com.hotels.styx.proxy
Create the load balancing strategy factory from the configuration.
LoadBalancingStrategyFactoryProvider(Configuration) - Constructor for class com.hotels.styx.proxy.LoadBalancingStrategyFactoryProvider
 
loadFromPath(String) - Static method in class com.hotels.styx.applications.yaml.YamlApplicationsProvider
 
loadFromText(String) - Static method in class com.hotels.styx.applications.yaml.YamlApplicationsProvider
 
loadLoadBalancer(Configuration, Environment, String, Class<? extends E>, ActiveOrigins) - Static method in class com.hotels.styx.serviceproviders.ServiceProvision
Create a StyxBackendServiceClient related factory configured with a particular key, then uses the factory's create method to create its product.
loadPlugins(Environment, List<ConfiguredPluginFactory>) - Static method in class com.hotels.styx.startup.extensions.PluginLoadingForStartup
Load plugins.
loadPlugins(Environment) - Static method in class com.hotels.styx.startup.extensions.PluginLoadingForStartup
 
loadRetryPolicy(Configuration, Environment, String, Class<? extends E>) - Static method in class com.hotels.styx.serviceproviders.ServiceProvision
Create factory configured with a particular key, then uses the factory's create method to create its product.
loadServices(Configuration, Environment, String, Class<? extends T>) - Static method in class com.hotels.styx.serviceproviders.ServiceProvision
Creates the services whose configuration has the specified key.
logbackConfigLocation(String) - Method in class com.hotels.styx.StartupConfig.Builder
 
LOGBackConfigurer - Class in com.hotels.styx.infrastructure.logging
A utility class for managing configuration for a static LOGBack instance.
logConfigLocation() - Method in class com.hotels.styx.StartupConfig
 
LoggingConfigurationHandler - Class in com.hotels.styx.admin.handlers
Displays contents of logging configuration file.
LoggingConfigurationHandler(Resource) - Constructor for class com.hotels.styx.admin.handlers.LoggingConfigurationHandler
 
loggingSetUp(StyxServerComponents.LoggingSetUp) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
loggingSetUp(String) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 

M

m15Rate() - Method in class com.hotels.styx.admin.dashboard.DashboardData.MeterData
 
m1Rate() - Method in class com.hotels.styx.admin.dashboard.DashboardData.MeterData
 
main(String[]) - Static method in class com.hotels.styx.StyxServer
 
maxConnectionsPerHost() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.ConnectionPoolSettingsMixin
 
maxHeaderSize(int) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
maxHeaderSize() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
maxHeaderSize() - Method in class com.hotels.styx.routing.handlers.HostProxy.HostProxyConfiguration
 
maxPendingConnectionsPerHost() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.ConnectionPoolSettingsMixin
 
mean() - Method in class com.hotels.styx.admin.dashboard.DashboardData.TimerData
 
meanRate() - Method in class com.hotels.styx.admin.dashboard.DashboardData.MeterData
 
MemoryBackedRegistry<T extends Identifiable> - Class in com.hotels.styx.infrastructure
Memory backed registry for T.
MemoryBackedRegistry() - Constructor for class com.hotels.styx.infrastructure.MemoryBackedRegistry
 
MemoryBackedRegistry.Factory<T extends Identifiable> - Class in com.hotels.styx.infrastructure
Factory for creating MemoryBackedRegistry.
metric() - Method in class com.hotels.styx.routing.RoutingMetadataDecorator
 
metricPrefix() - Method in class com.hotels.styx.routing.handlers.HostProxy.HostProxyConfiguration
 
metricRegistry(MetricRegistry) - Method in class com.hotels.styx.Environment.Builder
 
metricRegistry() - Method in class com.hotels.styx.Environment
 
metricRegistry(MetricRegistry) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterService.Builder
 
MetricRegistryConstraints - Class in com.hotels.styx.metrics.reporting
As the metrics reporters require MetricRegistry, this class extracts it from the Styx Metric Registry if possible.
metricsCacheExpiration() - Method in class com.hotels.styx.admin.AdminServerConfig
 
MetricsHandler - Class in com.hotels.styx.admin.handlers
Handler for showing all registered metrics for styx server.
MetricsHandler(MetricRegistry, Optional<Duration>) - Constructor for class com.hotels.styx.admin.handlers.MetricsHandler
Constructs a new handler.
metricsRegistry(MetricRegistry) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
missingAttributeError(StyxObjectDefinition, String, String) - Static method in class com.hotels.styx.routing.config.RoutingSupport
 

N

name() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Backend
 
name() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin
 
name() - Method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver.Placeholder
 
NAME - Static variable in class com.hotels.styx.proxy.healthchecks.HealthCheckTimestamp
 
name() - Method in class com.hotels.styx.proxy.plugin.NamedPlugin
 
name() - Method in class com.hotels.styx.routing.config.StyxObjectDefinition
 
name() - Method in class com.hotels.styx.routing.config.StyxObjectReference
 
name() - Method in class com.hotels.styx.startup.extensions.ConfiguredPluginFactory
 
NamedPlugin - Class in com.hotels.styx.proxy.plugin
Represents a plugin that has been loaded into styx under its configured name.
namedPlugin(String, Plugin) - Static method in class com.hotels.styx.proxy.plugin.NamedPlugin
 
NettyAllocatorMetricSet - Class in com.hotels.styx.metrics.reporting.sets
Creates a set of gauges that monitor metrics of netty {#ByteBufAllocatorMetric} instance.
NettyAllocatorMetricSet(String, ByteBufAllocatorMetric) - Constructor for class com.hotels.styx.metrics.reporting.sets.NettyAllocatorMetricSet
 
newBackendServices(Iterable<BackendService>) - Static method in class com.hotels.styx.applications.BackendServices
Creates a new Applications object.
newBackendServices(BackendService...) - Static method in class com.hotels.styx.applications.BackendServices
Creates a new Applications object.
newInstance(String, Class<T>) - Static method in class com.hotels.styx.proxy.ClassFactories
Factory for creating object of a class that extends type type.
newInstance(SpiExtensionFactory, Class<T>) - Method in class com.hotels.styx.spi.ExtensionObjectFactory
Instantiates an object as defined by the extension factory, and casts it to the desired type.
newProvider(Configuration) - Static method in class com.hotels.styx.proxy.LoadBalancingStrategyFactoryProvider
 
newStartupConfigBuilder() - Static method in class com.hotels.styx.StartupConfig
 
newVersion() - Static method in class com.hotels.styx.Version
 
NO_JVM_ROUTE_SET - Static variable in class com.hotels.styx.StyxConfig
 
NodePath - Class in com.hotels.styx.infrastructure.configuration.yaml
Node path.
NodePath(String) - Constructor for class com.hotels.styx.infrastructure.configuration.yaml.NodePath
 

O

objectFactories() - Method in class com.hotels.styx.routing.config.RoutingObjectFactory.Context
 
ObjectMappers - Class in com.hotels.styx.infrastructure.configuration.json
Collection of methods that helps to work with ObjectMapper objects in styx libraries.
onChange(Registry.Changes<BackendService>) - Method in class com.hotels.styx.admin.dashboard.DashboardData.Downstream
 
onChange(Registry.Changes<BackendService>) - Method in class com.hotels.styx.admin.dashboard.DashboardDataSupplier
 
onChange(Registry.Changes<BackendService>) - Method in class com.hotels.styx.proxy.BackendServicesRouter
 
OperatingSystemMetricSet - Class in com.hotels.styx.metrics.reporting.sets
Creates a set of gauges that monitor metrics provided by the JVM regarding the OS.
OperatingSystemMetricSet() - Constructor for class com.hotels.styx.metrics.reporting.sets.OperatingSystemMetricSet
 
originalPlugin() - Method in class com.hotels.styx.proxy.plugin.NamedPlugin
 
OriginMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for Origin.
origins() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Backend
 
origins() - Method in class com.hotels.styx.applications.BackendServices
All origins from all applications represented by this object.
origins(Set<Origin>) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
origins() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
originsChanged(OriginsSnapshot) - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin
 
originsChanged(OriginsSnapshot) - Method in class com.hotels.styx.admin.handlers.OriginsInventoryHandler
 
originsChanged(OriginsSnapshot) - Method in class com.hotels.styx.admin.tasks.OriginsCommandHandler
 
OriginsCommandHandler - Class in com.hotels.styx.admin.tasks
Handles commands for enabling and disabling origins.
OriginsCommandHandler(EventBus) - Constructor for class com.hotels.styx.admin.tasks.OriginsCommandHandler
Constructs an instance with an event bus to pass commands to, and also to listen to for inventory state changes.
OriginsHandler - Class in com.hotels.styx.admin.handlers
Provides origins configuration in the form of JSON.
OriginsHandler(Registry<BackendService>) - Constructor for class com.hotels.styx.admin.handlers.OriginsHandler
 
OriginsInventoryHandler - Class in com.hotels.styx.admin.handlers
Returns an origins inventory snapshot in an HTTP response.
OriginsInventoryHandler(EventBus) - Constructor for class com.hotels.styx.admin.handlers.OriginsInventoryHandler
Construct an instance.
OriginsReloadCommandHandler - Class in com.hotels.styx.admin.tasks
Handler for the origins reloading command.
OriginsReloadCommandHandler(Registry<BackendService>) - Constructor for class com.hotels.styx.admin.tasks.OriginsReloadCommandHandler
 
OriginsSnapshotMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for OriginsSnapshot.
override(JsonNode, JsonNode) - Method in class com.hotels.styx.infrastructure.configuration.yaml.NodePath
 
override(JsonNode, String) - Method in class com.hotels.styx.infrastructure.configuration.yaml.NodePath
 
overrides(Map<String, String>) - Method in class com.hotels.styx.infrastructure.configuration.ConfigurationParser.Builder
 
overrides(Properties) - Method in class com.hotels.styx.infrastructure.configuration.ConfigurationParser.Builder
 

P

p50() - Method in class com.hotels.styx.admin.dashboard.DashboardData.TimerData
 
p75() - Method in class com.hotels.styx.admin.dashboard.DashboardData.TimerData
 
p95() - Method in class com.hotels.styx.admin.dashboard.DashboardData.TimerData
 
p98() - Method in class com.hotels.styx.admin.dashboard.DashboardData.TimerData
 
p99() - Method in class com.hotels.styx.admin.dashboard.DashboardData.TimerData
 
p999() - Method in class com.hotels.styx.admin.dashboard.DashboardData.TimerData
 
parse(ConfigurationSource) - Method in class com.hotels.styx.infrastructure.configuration.ConfigurationParser
 
path(String) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
path() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
path() - Method in class com.hotels.styx.infrastructure.configuration.UnresolvedPlaceholder
The path/key at which the value containing the placeholder was found.
PATH_PREFIX_ROUTER - Static variable in class com.hotels.styx.routing.config.Builtins
 
PathPrefixConfig(String, JsonNode) - Constructor for class com.hotels.styx.routing.handlers.PathPrefixRouter.PathPrefixConfig
 
PathPrefixRouter - Class in com.hotels.styx.routing.handlers
Makes a routing decision based on a request path prefix.
PathPrefixRouter.Factory - Class in com.hotels.styx.routing.handlers
A factory for constructing PathPrefixRouter objects.
PathPrefixRouter.PathPrefixConfig - Class in com.hotels.styx.routing.handlers
PathPrefixRouter configuration.
PathPrefixRouter.PathPrefixRouterConfig - Class in com.hotels.styx.routing.handlers
PathPrefixRouter configuration.
PathPrefixRouterConfig(List<PathPrefixRouter.PathPrefixConfig>) - Constructor for class com.hotels.styx.routing.handlers.PathPrefixRouter.PathPrefixRouterConfig
 
pending() - Method in class com.hotels.styx.admin.dashboard.DashboardData.ConnectionsPoolsAggregate
 
pending() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin.ConnectionsPool
 
pendingConnectionTimeoutMillis() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.ConnectionPoolSettingsMixin
 
PingHandler - Class in com.hotels.styx.admin.handlers
A simple handler that can confirm that the admin interface is available.
PingHandler() - Constructor for class com.hotels.styx.admin.handlers.PingHandler
 
placeholder() - Method in class com.hotels.styx.infrastructure.configuration.UnresolvedPlaceholder
The placeholder itself.
PlaceholderResolutionResult(C, Collection<UnresolvedPlaceholder>) - Constructor for class com.hotels.styx.infrastructure.configuration.ExtensibleConfiguration.PlaceholderResolutionResult
 
PlaceholderResolver - Class in com.hotels.styx.infrastructure.configuration.yaml
Resolves placeholders in JSON trees.
PlaceholderResolver(ObjectNode, Map<String, String>) - Constructor for class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver
 
PlaceholderResolver.Placeholder - Class in com.hotels.styx.infrastructure.configuration.yaml
A name, value pair.
placeholders(HttpInterceptor.Context) - Static method in class com.hotels.styx.admin.handlers.UrlPatternRouter
 
pluginFactories(List<ConfiguredPluginFactory>) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
PluginFactoryLoader - Interface in com.hotels.styx.proxy.plugin
An interface for loading PluginFactory objects from various sources.
PluginListHandler - Class in com.hotels.styx.admin.handlers
Returns a simple HTML page with a list of plugins, split into enabled and disabled.
PluginListHandler(List<NamedPlugin>) - Constructor for class com.hotels.styx.admin.handlers.PluginListHandler
 
PluginLoadingForStartup - Class in com.hotels.styx.startup.extensions
Utility to start-up plugins with Styx.
plugins() - Method in class com.hotels.styx.Environment
 
plugins() - Method in class com.hotels.styx.proxy.plugin.PluginsMetadata
 
plugins() - Method in class com.hotels.styx.routing.config.RoutingObjectFactory.Context
 
plugins(Map<String, Plugin>) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
plugins() - Method in class com.hotels.styx.startup.StyxServerComponents
 
PluginsMetadata - Class in com.hotels.styx.proxy.plugin
Plugins metadata.
PluginStartupException - Exception in com.hotels.styx.proxy.plugin
An exception thrown when plugins fail to start.
PluginStartupException() - Constructor for exception com.hotels.styx.proxy.plugin.PluginStartupException
 
PluginStartupException(String) - Constructor for exception com.hotels.styx.proxy.plugin.PluginStartupException
 
PluginStartupException(String, Throwable) - Constructor for exception com.hotels.styx.proxy.plugin.PluginStartupException
 
PluginStartupException(Throwable) - Constructor for exception com.hotels.styx.proxy.plugin.PluginStartupException
 
PluginToggleHandler - Class in com.hotels.styx.admin.handlers
Handler that will enable and disable plugins.
PluginToggleHandler(List<NamedPlugin>) - Constructor for class com.hotels.styx.admin.handlers.PluginToggleHandler
Construct an instance given the plugins that you want to be able to enable and disable.
port() - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteConfig
 
port() - Method in class com.hotels.styx.StyxConfig
 
post(String, WebServiceHandler) - Method in class com.hotels.styx.admin.handlers.UrlPatternRouter.Builder
 
prefix() - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteConfig
 
prefix(String) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterService.Builder
 
prefix() - Method in class com.hotels.styx.routing.handlers.PathPrefixRouter.PathPrefixConfig
 
prefixedWith(String) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporter.Builder
Prefix all metric names with the given string.
PRETTY_PRINTER - Static variable in class com.hotels.styx.admin.support.Json
 
protocols(List<String>) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
protocols() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
ProviderListHandler - Class in com.hotels.styx.admin.handlers
Returns a simple HTML page with a list of Providers, and the set of available admin endpoints for each.
ProviderListHandler(ObjectStore<? extends <any>>) - Constructor for class com.hotels.styx.admin.handlers.ProviderListHandler
Create a new handler linked to a provider object store.
ProviderRoutingHandler - Class in com.hotels.styx.admin.handlers
Routes admin requests to the admin endpoints of each StyxService in the Provider ObjectStore, and to the index page that organizes and lists these endpoints.
ProviderRoutingHandler(String, <any>) - Constructor for class com.hotels.styx.admin.handlers.ProviderRoutingHandler
Create a new handler for the given provider object store, with provider admin URLs mounted under the path "pathPrefix/providerName".
PROXY_TO_BACKEND - Static variable in class com.hotels.styx.routing.config.Builtins
 
ProxyConnectorFactory - Class in com.hotels.styx
Factory for proxy connectors.
ProxyConnectorFactory(NettyServerConfig, MetricRegistry, HttpErrorStatusListener, String, ResponseEnhancer, boolean, HttpMessageFormatter, CharSequence) - Constructor for class com.hotels.styx.ProxyConnectorFactory
 
proxyErrorOccurred(HttpResponseStatus, Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusCauseLogger
 
proxyErrorOccurred(LiveHttpRequest, InetSocketAddress, HttpResponseStatus, Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusCauseLogger
 
proxyErrorOccurred(Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusCauseLogger
 
proxyErrorOccurred(HttpResponseStatus, Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusMetrics
 
proxyErrorOccurred(Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusMetrics
 
proxyErrorOccurred(LiveHttpRequest, InetSocketAddress, HttpResponseStatus, Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusMetrics
 
proxyHttpAddress() - Method in class com.hotels.styx.StyxServer
 
proxyHttpsAddress() - Method in class com.hotels.styx.StyxServer
 
proxyingFailure(LiveHttpRequest, LiveHttpResponse, Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusCauseLogger
 
proxyingFailure(LiveHttpRequest, LiveHttpResponse, Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusMetrics
 
ProxyServerConfig - Class in com.hotels.styx.proxy
Configuration for proxy server.
ProxyServerConfig() - Constructor for class com.hotels.styx.proxy.ProxyServerConfig
 
proxyServerConfig() - Method in class com.hotels.styx.StyxConfig
 
ProxyServerConfig.Builder - Class in com.hotels.styx.proxy
Builder.
ProxyToBackend - Class in com.hotels.styx.routing.handlers
Deprecated.
Will be removed in Styx 1.1 release. Use a combination of HostProxy and LoadBalancingGroup to achieve same functionality.
ProxyToBackend.Factory - Class in com.hotels.styx.routing.handlers
Deprecated.
ProxyToBackend factory that instantiates an object from the Yaml configuration.
proxyWriteFailure(LiveHttpRequest, LiveHttpResponse, Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusCauseLogger
 
proxyWriteFailure(LiveHttpRequest, LiveHttpResponse, Throwable) - Method in class com.hotels.styx.proxy.HttpErrorStatusMetrics
 
publishTime() - Method in class com.hotels.styx.admin.dashboard.DashboardData
 
put(String, WebServiceHandler) - Method in class com.hotels.styx.admin.handlers.UrlPatternRouter.Builder
 

R

read(byte[]) - Method in interface com.hotels.styx.infrastructure.FileBackedRegistry.Reader
 
readVersionFrom(String) - Static method in class com.hotels.styx.Version
 
refLookup() - Method in class com.hotels.styx.routing.config.RoutingObjectFactory.Context
 
reformat(String) - Static method in class com.hotels.styx.admin.handlers.json.JsonReformatter
 
registerCoreMetrics(Version, MetricRegistry) - Static method in class com.hotels.styx.startup.CoreMetrics
 
RegistryServiceAdapter - Class in com.hotels.styx.infrastructure
RegistryServiceAdapter adapts BackendService registry to a Styx Service.
RegistryServiceAdapter(Registry<BackendService>) - Constructor for class com.hotels.styx.infrastructure.RegistryServiceAdapter
 
releaseTag() - Method in class com.hotels.styx.Version
 
releaseVersion() - Method in class com.hotels.styx.Version
 
reload() - Method in class com.hotels.styx.infrastructure.FileBackedRegistry
 
reload() - Method in class com.hotels.styx.infrastructure.MemoryBackedRegistry
 
reload() - Method in class com.hotels.styx.infrastructure.RegistryServiceAdapter
 
reload() - Method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry
 
ReloadException - Exception in com.hotels.styx.infrastructure
Exception thrown during reload attempt.
ReloadException() - Constructor for exception com.hotels.styx.infrastructure.ReloadException
 
ReloadException(String) - Constructor for exception com.hotels.styx.infrastructure.ReloadException
 
ReloadException(String, Throwable) - Constructor for exception com.hotels.styx.infrastructure.ReloadException
 
ReloadException(Throwable) - Constructor for exception com.hotels.styx.infrastructure.ReloadException
 
removeById(Id) - Method in class com.hotels.styx.infrastructure.MemoryBackedRegistry
 
removeListener(Registry.ChangeListener<BackendService>) - Method in class com.hotels.styx.infrastructure.RegistryServiceAdapter
 
removeListener(Registry.ChangeListener<BackendService>) - Method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry
 
replacement() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.RewriteConfigMixin
 
replacePlaceholder(String, String, String) - Static method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver
 
report(SortedMap<String, Gauge>, SortedMap<String, Counter>, SortedMap<String, Histogram>, SortedMap<String, Meter>, SortedMap<String, Timer>) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporter
 
reportingInterval(long, TimeUnit) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterService.Builder
 
RequestEnrichingInterceptor - Class in com.hotels.styx.proxy.interceptors
Adds X-Forwarded-For, X-Forwarded-Proto and X-Hcom-Request-Id headers to requests.
RequestEnrichingInterceptor(StyxHeaderConfig) - Constructor for class com.hotels.styx.proxy.interceptors.RequestEnrichingInterceptor
 
requests() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Backend
 
requests() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin
 
requestTracking() - Method in class com.hotels.styx.routing.config.RoutingObjectFactory.Context
 
reset() - Method in class com.hotels.styx.infrastructure.MemoryBackedRegistry
 
resolve() - Method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver
 
resolvedConfiguration() - Method in class com.hotels.styx.infrastructure.configuration.ExtensibleConfiguration.PlaceholderResolutionResult
Configuration with placeholders resolved.
resolvePlaceholders(Map<String, String>) - Method in interface com.hotels.styx.infrastructure.configuration.ExtensibleConfiguration
Resolves placeholders in this configuration, using both its own properties and overrides.
resolvePlaceholders(JsonNode, Map<String, String>) - Static method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver
Resolve placeholders.
resolvePlaceholders(JsonNode, Properties) - Static method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver
Resolve placeholders.
resolvePlaceholders(Map<String, String>) - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfiguration
 
resolvePlaceholdersInText(String, Map<String, String>) - Method in interface com.hotels.styx.infrastructure.configuration.ConfigurationFormat
Resolves placeholders in a piece of text, using only overrides, not loaded configuration.
resolvePlaceholdersInText(String, Map<String, String>) - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfigurationFormat
 
ResponseInfoFormat - Class in com.hotels.styx
Formats response info into a string.
ResponseInfoFormat(Environment) - Constructor for class com.hotels.styx.ResponseInfoFormat
 
responses() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Backend
 
responses() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Downstream
 
responses() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin
 
responses() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Server
 
responseTimeoutMillis(int) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
responseTimeoutMillis() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
responseTimeoutMillis() - Method in class com.hotels.styx.routing.handlers.HostProxy.HostProxyConfiguration
 
REWRITE - Static variable in class com.hotels.styx.routing.config.Builtins
 
RewriteConfigMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for RewriteConfig.
RewriteConfigMixin(String, String) - Constructor for class com.hotels.styx.infrastructure.configuration.json.mixins.RewriteConfigMixin
 
RewriteInterceptor - Class in com.hotels.styx.routing.interceptors
A built-in interceptor for URL rewrite.
RewriteInterceptor.Factory - Class in com.hotels.styx.routing.interceptors
A factory for built-in interceptors.
rewrites(List<RewriteConfig>) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
rewrites() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
root() - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfiguration
 
route(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.proxy.BackendServicesRouter
 
route(LiveHttpRequest, HttpInterceptor.Context) - Method in class com.hotels.styx.routing.handlers.ConditionRouter
 
route(LiveHttpRequest) - Method in class com.hotels.styx.routing.handlers.PathPrefixRouter
 
routeDatabase() - Method in class com.hotels.styx.startup.StyxServerComponents
 
routeDb() - Method in class com.hotels.styx.routing.config.RoutingObjectFactory.Context
 
RouteDbRefLookup(<any>) - Constructor for class com.hotels.styx.routing.handlers.RouteRefLookup.RouteDbRefLookup
 
RouteHandlerAdapter - Class in com.hotels.styx.proxy
A HttpHandler implementation.
RouteHandlerAdapter(HttpRouter) - Constructor for class com.hotels.styx.proxy.RouteHandlerAdapter
 
RouteRefLookup - Interface in com.hotels.styx.routing.handlers
Resolves a routing object reference from route database.
RouteRefLookup.RouteDbRefLookup - Class in com.hotels.styx.routing.handlers
A StyxObjectStore based route reference lookup function.
routes() - Method in class com.hotels.styx.routing.handlers.PathPrefixRouter.PathPrefixRouterConfig
 
RoutingConfigParser - Class in com.hotels.styx.routing.config
Parses routing config objects from Yaml file.
RoutingMetadataDecorator - Class in com.hotels.styx.routing
Decorates a RoutingObject instance with additional metadata.
RoutingMetadataDecorator(RoutingObject) - Constructor for class com.hotels.styx.routing.RoutingMetadataDecorator
Routing object adapater constructor.
RoutingObject - Interface in com.hotels.styx.routing
A Styx routing object interface.
RoutingObjectFactory - Interface in com.hotels.styx.routing.config
A factory for constructing Styx routing objects from a StyxObjectDefinition yaml config block.
RoutingObjectFactory.Context - Class in com.hotels.styx.routing.config
Contextual information for factory class.
routingObjectFactoryContext() - Method in class com.hotels.styx.startup.StyxServerComponents
 
RoutingObjectHandler - Class in com.hotels.styx.admin.handlers
Provides admin interface access to Styx routing configuration.
RoutingObjectHandler(<any>, RoutingObjectFactory.Context) - Constructor for class com.hotels.styx.admin.handlers.RoutingObjectHandler
 
RoutingSupport - Class in com.hotels.styx.routing.config
RoutingSupport providers supporting methods for HTTP routing features.
run() - Method in interface com.hotels.styx.metrics.reporting.graphite.IOAction
Executes the defined I/O-related Action.

S

SCHEMA - Static variable in class com.hotels.styx.routing.handlers.ConditionRouter
 
SCHEMA - Static variable in class com.hotels.styx.routing.handlers.HostProxy
 
SCHEMA - Static variable in class com.hotels.styx.routing.handlers.HttpInterceptorPipeline
 
SCHEMA - Static variable in class com.hotels.styx.routing.handlers.PathPrefixRouter
 
SCHEMA - Static variable in class com.hotels.styx.routing.handlers.ProxyToBackend
Deprecated.
 
SCHEMA - Static variable in class com.hotels.styx.routing.handlers.StaticResponseHandler
 
SCHEMA - Static variable in class com.hotels.styx.routing.interceptors.RewriteInterceptor
 
sendSni(boolean) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
sendSni() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
server() - Method in class com.hotels.styx.admin.dashboard.DashboardData
 
serverAddress(String) - Method in class com.hotels.styx.StyxServer
 
serverEnvironment() - Method in class com.hotels.styx.Environment
 
ServerProtocolDistributionRecorder - Class in com.hotels.styx.proxy
Records request and response count with protocol.
ServerProtocolDistributionRecorder(MetricRegistry, boolean) - Constructor for class com.hotels.styx.proxy.ServerProtocolDistributionRecorder
 
serversDatabase() - Method in class com.hotels.styx.startup.StyxServerComponents
 
ServiceFactoryConfig - Class in com.hotels.styx.spi.config
A class, intended to be produced by a YAML-parser, that will configure a factory.
serviceName(String) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterService.Builder
 
ServiceProviderFactory - Interface in com.hotels.styx.serviceproviders
A generic factory that can be implemented to create objects whose type is not known until read from configuration.
ServiceProviderHandler - Class in com.hotels.styx.admin.handlers
Admin interface access to service provider information, esp.
ServiceProviderHandler(<any>) - Constructor for class com.hotels.styx.admin.handlers.ServiceProviderHandler
 
ServiceProvision - Class in com.hotels.styx.serviceproviders
Loads service classes from service definition configurations.
services() - Method in class com.hotels.styx.startup.StyxServerComponents
 
SERVICES_FROM_CONFIG - Static variable in interface com.hotels.styx.startup.ServicesLoader
 
servicesDatabase() - Method in class com.hotels.styx.startup.StyxServerComponents
 
ServicesLoader - Interface in com.hotels.styx.startup
Loads services from environment.
setBossThreadsCount(Integer) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setBossThreadsCount(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setClientWorkerThreadsCount(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setCompressResponses(boolean) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setConnectors(NettyServerConfig.Connectors) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setConnectors(NettyServerConfig.Connectors) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setEnabled(boolean) - Method in class com.hotels.styx.proxy.plugin.NamedPlugin
Enables or disables the plugin.
setHttpConnector(HttpConnectorConfig) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setHttpConnector(HttpConnectorConfig) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setHttpsConnector(HttpsConnectorConfig) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setHttpsConnector(HttpsConnectorConfig) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setKeepAliveTimeoutMillis(Integer) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setKeepAliveTimeoutMillis(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setMaxChunkSize(Integer) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setMaxChunkSize(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setMaxConnectionsCount(Integer) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setMaxConnectionsCount(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setMaxHeaderSize(Integer) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setMaxHeaderSize(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setMaxInitialLength(Integer) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setMaxInitialLength(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setMetricsCache(AdminServerConfig.MetricsCache) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setNioAcceptorBacklog(Integer) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setNioAcceptorBacklog(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setRequestTimeoutMillis(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
setRequestTimeoutMs(Integer) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setUp(Environment) - Method in interface com.hotels.styx.startup.StyxServerComponents.LoggingSetUp
 
setWorkerThreadsCount(Integer) - Method in class com.hotels.styx.admin.AdminServerConfig.Builder
 
setWorkerThreadsCount(Integer) - Method in class com.hotels.styx.proxy.ProxyServerConfig.Builder
 
shutdownLogging(boolean) - Static method in class com.hotels.styx.infrastructure.logging.LOGBackConfigurer
Shut down LOGBack.
sniHost(String) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
socketTimeoutMillis() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.ConnectionPoolSettingsMixin
 
SpiExtension - Class in com.hotels.styx.spi.config
Factory/configuration block.
SpiExtension(SpiExtensionFactory, JsonNode, Boolean) - Constructor for class com.hotels.styx.spi.config.SpiExtension
 
SpiExtensionFactory - Class in com.hotels.styx.spi.config
Factory for objects of a given class.
SpiExtensionFactory(String, String) - Constructor for class com.hotels.styx.spi.config.SpiExtensionFactory
 
sslProvider(String) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
sslProvider() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
start() - Method in class com.hotels.styx.metrics.reporting.jmx.JmxReporterService
 
start(FileMonitor.Listener) - Method in class com.hotels.styx.proxy.backends.file.FileChangeMonitor
 
start(FileMonitor.Listener) - Method in interface com.hotels.styx.proxy.backends.file.FileMonitor
 
startService() - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterService
 
startService() - Method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry
 
startupConfig(StartupConfig) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
startupConfig() - Method in class com.hotels.styx.startup.StyxServerComponents
 
StartupConfig - Class in com.hotels.styx
Startup configuration values for StyxServer.
StartupConfig.Builder - Class in com.hotels.styx
Builds StartupConfig.
StartupConfigHandler - Class in com.hotels.styx.admin.handlers
Displays information about what settings Styx started up with.
StartupConfigHandler(StartupConfig) - Constructor for class com.hotels.styx.admin.handlers.StartupConfigHandler
Construct a new instance.
STATIC_RESPONSE - Static variable in class com.hotels.styx.routing.config.Builtins
 
StaticPipelineFactory - Class in com.hotels.styx.routing
Builds a static "backwards compatibility" pipeline which is just a sequence of plugins followed by backend service proxy.
StaticPipelineFactory(Environment, Registry<BackendService>, Iterable<NamedPlugin>, NettyExecutor, boolean) - Constructor for class com.hotels.styx.routing.StaticPipelineFactory
 
StaticResponseHandler - Class in com.hotels.styx.routing.handlers
A HTTP handler for returning a static response.
StaticResponseHandler(int, String, HttpHeaders) - Constructor for class com.hotels.styx.routing.handlers.StaticResponseHandler
 
StaticResponseHandler.Factory - Class in com.hotels.styx.routing.handlers
Builds a static response handler from Yaml configuration.
status() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Origin
 
statuses() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Backend
 
stickySessionConfig(StickySessionConfig) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin.Builder
 
stickySessionConfig() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.BackendServiceMixin
 
StickySessionConfigMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for StickySessionConfig.
stickySessionEnabled() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.StickySessionConfigMixin
 
stickySessionTimeoutSeconds() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.StickySessionConfigMixin
 
stop() - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporter
 
stop() - Method in class com.hotels.styx.metrics.reporting.jmx.JmxReporterService
 
stop() - Method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry
 
stop() - Method in class com.hotels.styx.proxy.backends.file.FileChangeMonitor
 
stop() - Method in class com.hotels.styx.routing.handlers.HostProxy
 
stop() - Method in class com.hotels.styx.routing.handlers.HttpInterceptorPipeline
 
stop() - Method in class com.hotels.styx.routing.RoutingMetadataDecorator
 
stop() - Method in interface com.hotels.styx.routing.RoutingObject
 
stopService() - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporterService
 
StyxBackendServiceClientFactory - Class in com.hotels.styx.proxy
Creates HTTP clients for connecting to backend services.
StyxBackendServiceClientFactory(Environment) - Constructor for class com.hotels.styx.proxy.StyxBackendServiceClientFactory
 
styxConfig() - Method in class com.hotels.styx.Environment
styxConfig(StyxConfig) - Method in class com.hotels.styx.startup.StyxServerComponents.Builder
 
StyxConfig - Class in com.hotels.styx
Styx configuration.
StyxConfig() - Constructor for class com.hotels.styx.StyxConfig
 
StyxConfig(Configuration) - Constructor for class com.hotels.styx.StyxConfig
 
StyxConfigurationHandler - Class in com.hotels.styx.admin.handlers
Returns a response consisting of the configuration variables.
StyxConfigurationHandler(Configuration) - Constructor for class com.hotels.styx.admin.handlers.StyxConfigurationHandler
Constructs an instance that will construct a static body from a given configuration.
styxHeaderConfig() - Method in class com.hotels.styx.StyxConfig
 
styxHome(String) - Method in class com.hotels.styx.StartupConfig.Builder
 
styxHome() - Method in class com.hotels.styx.StartupConfig
 
StyxObjectConfiguration - Interface in com.hotels.styx.routing.config
A common interface for different types of Yaml routing configuration items.
StyxObjectDefinition - Class in com.hotels.styx.routing.config
An yaml configuration block used in routing configuration to configure an HTTP handler.
StyxObjectDefinition(String, String, List<String>, JsonNode) - Constructor for class com.hotels.styx.routing.config.StyxObjectDefinition
 
StyxObjectDefinition(String, String, JsonNode) - Constructor for class com.hotels.styx.routing.config.StyxObjectDefinition
 
StyxObjectReference - Class in com.hotels.styx.routing.config
A routing config object that is a named reference to an object specified elsewhere.
StyxObjectReference(String) - Constructor for class com.hotels.styx.routing.config.StyxObjectReference
 
StyxPipelineFactory - Class in com.hotels.styx
Produces the pipeline for the Styx proxy server.
StyxPipelineFactory(RoutingObjectFactory.Context, Environment, Map<String, StyxService>, List<NamedPlugin>, NettyExecutor) - Constructor for class com.hotels.styx.StyxPipelineFactory
 
StyxServer - Class in com.hotels.styx
Entry point for styx proxy server.
StyxServer(StyxServerComponents) - Constructor for class com.hotels.styx.StyxServer
 
StyxServer(StyxServerComponents, Stopwatch) - Constructor for class com.hotels.styx.StyxServer
 
StyxServerComponents - Class in com.hotels.styx.startup
Configuration required to set-up the core Styx services, such as the proxy and admin servers.
StyxServerComponents.Builder - Class in com.hotels.styx.startup
CoreConfig builder.
StyxServerComponents.LoggingSetUp - Interface in com.hotels.styx.startup
Set-up the logging.
StyxServerFactory - Interface in com.hotels.styx.serviceproviders
A generic factory that can be implemented to create objects whose type is not known until read from configuration.
StyxServers - Class in com.hotels.styx
A helper class to manipulate StyxServer objects.
styxStarting() - Method in class com.hotels.styx.proxy.plugin.InstrumentedPlugin
 
styxStarting() - Method in class com.hotels.styx.proxy.plugin.NamedPlugin
 
styxStopping() - Method in class com.hotels.styx.proxy.plugin.InstrumentedPlugin
 
styxStopping() - Method in class com.hotels.styx.proxy.plugin.NamedPlugin
 
successRate() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Requests
 

T

tags() - Method in class com.hotels.styx.routing.config.StyxObjectDefinition
 
TARGET_CLASSES_PROPERTY_NAME - Static variable in class com.hotels.styx.infrastructure.logging.ExceptionConverter
 
TcpTunnelRequestRejector - Class in com.hotels.styx.proxy.interceptors
A built-in interceptor to reject connections that try to use the CONNECT method to establish a TCP tunnel (see issue #312 https://github.com/HotelsDotCom/styx/issues/312).
TcpTunnelRequestRejector() - Constructor for class com.hotels.styx.proxy.interceptors.TcpTunnelRequestRejector
 
ThreadsHandler - Class in com.hotels.styx.admin.handlers
Provides an HTTP response with a body consisting of a thread dump.
ThreadsHandler() - Constructor for class com.hotels.styx.admin.handlers.ThreadsHandler
Constructs an instance.
timeout(long) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin.Builder
 
timeoutMillis() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin
 
timeToFirstByte() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Requests
 
tlsSettings() - Method in class com.hotels.styx.routing.handlers.HostProxy.HostProxyConfiguration
 
TlsSettingsMixin - Interface in com.hotels.styx.infrastructure.configuration.json.mixins
Jackson annotations for TlsSettings.
TlsSettingsMixin.Builder - Interface in com.hotels.styx.infrastructure.configuration.json.mixins
The builder for SSL settings.
toGuavaService(StyxService) - Static method in class com.hotels.styx.StyxServers
Convert a StyxService to a Guava Service.
toRoutingConfigNode(JsonNode) - Static method in class com.hotels.styx.routing.config.RoutingConfigParser
 
toString() - Method in class com.hotels.styx.admin.handlers.IndexHandler.Link
 
toString() - Method in class com.hotels.styx.applications.BackendServices
 
toString() - Method in class com.hotels.styx.infrastructure.configuration.UnresolvedPlaceholder
 
toString() - Method in class com.hotels.styx.infrastructure.configuration.yaml.JsonNodeConfig
 
toString() - Method in class com.hotels.styx.infrastructure.configuration.yaml.NodePath
 
toString() - Method in class com.hotels.styx.infrastructure.configuration.yaml.PlaceholderResolver.Placeholder
 
toString() - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfiguration
 
toString() - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfigurationFormat
 
toString() - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteConfig
 
toString() - Method in class com.hotels.styx.proxy.backends.file.FileBackedBackendServicesRegistry
 
toString() - Method in class com.hotels.styx.proxy.plugin.PluginsMetadata
 
toString() - Method in class com.hotels.styx.routing.config.StyxObjectReference
 
toString() - Method in class com.hotels.styx.spi.config.ServiceFactoryConfig
 
toString() - Method in class com.hotels.styx.spi.config.SpiExtension
 
toString() - Method in class com.hotels.styx.spi.config.SpiExtensionFactory
 
toString() - Method in class com.hotels.styx.StartupConfig
 
toString() - Method in class com.hotels.styx.StyxConfig
 
toString() - Method in class com.hotels.styx.Version
 
totalConnections() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Backend
 
trustAllCerts(boolean) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
trustAllCerts() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
trustStorePassword(String) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
trustStorePassword() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
trustStorePath(String) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin.Builder
 
trustStorePath() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.TlsSettingsMixin
 
type() - Method in class com.hotels.styx.routing.config.StyxObjectDefinition
 

U

UnexpectedRequestContentLengthRemover - Class in com.hotels.styx.proxy.interceptors
Fixes bad content length headers.
UnexpectedRequestContentLengthRemover() - Constructor for class com.hotels.styx.proxy.interceptors.UnexpectedRequestContentLengthRemover
 
unhealthyThreshold(int) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin.Builder
 
unhealthyThreshold() - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin
 
UnresolvedPlaceholder - Class in com.hotels.styx.infrastructure.configuration
Information on an unresolved placeholder.
UnresolvedPlaceholder(String, String, String) - Constructor for class com.hotels.styx.infrastructure.configuration.UnresolvedPlaceholder
 
unresolvedPlaceholders() - Method in class com.hotels.styx.infrastructure.configuration.ExtensibleConfiguration.PlaceholderResolutionResult
Placeholders that could not be resolved.
UptimeHandler - Class in com.hotels.styx.admin.handlers
Provides an uptime via admin interface.
UptimeHandler(MetricRegistry) - Constructor for class com.hotels.styx.admin.handlers.UptimeHandler
 
uri(String) - Method in interface com.hotels.styx.infrastructure.configuration.json.mixins.HealthCheckConfigMixin.Builder
 
urlPattern() - Method in class com.hotels.styx.infrastructure.configuration.json.mixins.RewriteConfigMixin
 
UrlPatternRouter - Class in com.hotels.styx.admin.handlers
A configurable router.
UrlPatternRouter.Builder - Class in com.hotels.styx.admin.handlers
A builder class.
USE_DEFAULT_MAX_HEADER_SIZE - Static variable in class com.hotels.styx.routing.handlers.HostProxy.Factory
 

V

value() - Method in class com.hotels.styx.infrastructure.configuration.UnresolvedPlaceholder
The value that contained the placeholder.
valueOf(String) - Static method in enum com.hotels.styx.routing.config.ConfigVersionResolver.Version
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.hotels.styx.routing.config.ConfigVersionResolver.Version
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in class com.hotels.styx.admin.dashboard.DashboardData.Server
 
Version - Class in com.hotels.styx
Version of the current styx server.
Version(String) - Constructor for class com.hotels.styx.Version
 
versionFiles(StartupConfig) - Method in class com.hotels.styx.StyxConfig
 
VersionTextHandler - Class in com.hotels.styx.admin.handlers
Provides version text from one or more files provided in configuration.
VersionTextHandler(Iterable<Resource>) - Constructor for class com.hotels.styx.admin.handlers.VersionTextHandler
Constructs an instance with a list of resources to get content from.
ViaHeaderAppendingInterceptor - Class in com.hotels.styx.proxy.interceptors
Add support for "Via" header as per described in Chapter 9.9 in the HTTP/1.1 specification.
ViaHeaderAppendingInterceptor() - Constructor for class com.hotels.styx.proxy.interceptors.ViaHeaderAppendingInterceptor
 

W

withClock(Clock) - Method in class com.hotels.styx.metrics.reporting.graphite.GraphiteReporter.Builder
Use the given Clock instance for the time.
withOverrides(Map<String, String>) - Method in interface com.hotels.styx.infrastructure.configuration.ExtensibleConfiguration
Overrides configuration properties with mapped values.
withOverrides(Map<String, String>) - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfiguration
 
withParent(C) - Method in interface com.hotels.styx.infrastructure.configuration.ExtensibleConfiguration
Merges this configuration with parent configuration.
withParent(YamlConfiguration) - Method in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfiguration
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class com.hotels.styx.proxy.ServerProtocolDistributionRecorder
 

Y

YAML - Static variable in class com.hotels.styx.infrastructure.configuration.yaml.YamlConfigurationFormat
 
YAML_FILE_CONFIGURATION_SERVICE - Static variable in class com.hotels.styx.routing.config.Builtins
 
YamlApplicationsProvider - Class in com.hotels.styx.applications.yaml
Provides applications by reading from a YAML file.
YamlApplicationsProvider(Resource) - Constructor for class com.hotels.styx.applications.yaml.YamlApplicationsProvider
 
YamlConfiguration - Class in com.hotels.styx.infrastructure.configuration.yaml
Configuration using YAML format.
YamlConfiguration(JsonNode) - Constructor for class com.hotels.styx.infrastructure.configuration.yaml.YamlConfiguration
 
YamlConfigurationFormat - Class in com.hotels.styx.infrastructure.configuration.yaml
YAML-based configuration format.
yamlMapper() - Static method in class com.hotels.styx.admin.handlers.ServiceProviderHandler
 
A B C D E F G H I J L M N O P R S T U V W Y 
Skip navigation links

Copyright © 2013–2020 Hotels.com. All rights reserved.