| Package | Description |
|---|---|
| io.dropwizard.configuration | |
| io.dropwizard.setup | |
| io.dropwizard.testing | |
| io.dropwizard.testing.junit | |
| io.dropwizard.testing.junit5 |
| Modifier and Type | Class and Description |
|---|---|
class |
FileConfigurationSourceProvider
An implementation of
ConfigurationSourceProvider that reads the configuration from the
local file system. |
class |
ResourceConfigurationSourceProvider
An implementation of
ConfigurationSourceProvider which reads the configuration
from a resource file. |
class |
SubstitutingSourceProvider
A delegating
ConfigurationSourceProvider which replaces variables in the underlying configuration
source according to the rules of a custom StringSubstitutor. |
class |
UrlConfigurationSourceProvider
An implementation of
ConfigurationSourceProvider that reads the configuration from a
URL. |
| Modifier and Type | Method and Description |
|---|---|
T |
ConfigurationFactory.build(ConfigurationSourceProvider provider,
String path)
Loads, parses, binds, and validates a configuration object.
|
T |
BaseConfigurationFactory.build(ConfigurationSourceProvider provider,
String path) |
| Constructor and Description |
|---|
SubstitutingSourceProvider(ConfigurationSourceProvider delegate,
org.apache.commons.text.StringSubstitutor substitutor)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationSourceProvider |
Bootstrap.getConfigurationSourceProvider()
Returns the bootstrap's
ConfigurationSourceProvider. |
| Modifier and Type | Method and Description |
|---|---|
void |
Bootstrap.setConfigurationSourceProvider(ConfigurationSourceProvider provider)
Sets the bootstrap's
ConfigurationSourceProvider. |
| Modifier and Type | Field and Description |
|---|---|
protected ConfigurationSourceProvider |
DropwizardTestSupport.configSourceProvider |
| Modifier and Type | Method and Description |
|---|---|
C |
POJOConfigurationFactory.build(ConfigurationSourceProvider provider,
String path) |
| Constructor and Description |
|---|
DropwizardTestSupport(Class<? extends Application<C>> applicationClass,
String configPath,
ConfigurationSourceProvider configSourceProvider,
ConfigOverride... configOverrides) |
DropwizardTestSupport(Class<? extends Application<C>> applicationClass,
String configPath,
ConfigurationSourceProvider configSourceProvider,
String customPropertyPrefix,
ConfigOverride... configOverrides) |
DropwizardTestSupport(Class<? extends Application<C>> applicationClass,
String configPath,
ConfigurationSourceProvider configSourceProvider,
String customPropertyPrefix,
Function<Application<C>,Command> commandInstantiator,
ConfigOverride... configOverrides) |
| Constructor and Description |
|---|
DropwizardAppRule(Class<? extends Application<C>> applicationClass,
String configPath,
ConfigurationSourceProvider configSourceProvider,
ConfigOverride... configOverrides)
Deprecated.
|
DropwizardAppRule(Class<? extends Application<C>> applicationClass,
String configPath,
ConfigurationSourceProvider configSourceProvider,
String customPropertyPrefix,
ConfigOverride... configOverrides)
Deprecated.
|
DropwizardAppRule(Class<? extends Application<C>> applicationClass,
String configPath,
ConfigurationSourceProvider configSourceProvider,
String customPropertyPrefix,
Function<Application<C>,Command> commandInstantiator,
ConfigOverride... configOverrides)
Deprecated.
|
| Constructor and Description |
|---|
DropwizardAppExtension(Class<? extends Application<C>> applicationClass,
String configPath,
ConfigurationSourceProvider configSourceProvider,
ConfigOverride... configOverrides) |
DropwizardAppExtension(Class<? extends Application<C>> applicationClass,
String configPath,
ConfigurationSourceProvider configSourceProvider,
String customPropertyPrefix,
ConfigOverride... configOverrides) |
DropwizardAppExtension(Class<? extends Application<C>> applicationClass,
String configPath,
ConfigurationSourceProvider configSourceProvider,
String customPropertyPrefix,
Function<Application<C>,Command> commandInstantiator,
ConfigOverride... configOverrides) |
Copyright © 2021. All rights reserved.