- 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
-
- CodaHaleMetricRegistryMixin - Class in com.hotels.styx.infrastructure.configuration.json.mixins
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-