Package io.dropwizard.configuration
Class UrlConfigurationSourceProvider
java.lang.Object
io.dropwizard.configuration.UrlConfigurationSourceProvider
- All Implemented Interfaces:
ConfigurationSourceProvider
An implementation of
ConfigurationSourceProvider that reads the configuration from a
URL.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns anInputStreamthat contains the source of the configuration for the application.
-
Constructor Details
-
UrlConfigurationSourceProvider
public UrlConfigurationSourceProvider()
-
-
Method Details
-
open
Description copied from interface:ConfigurationSourceProviderReturns anInputStreamthat contains the source of the configuration for the application. The caller is responsible for closing the result.- Specified by:
openin interfaceConfigurationSourceProvider- Parameters:
path- the path to the configuration- Returns:
- an
InputStream - Throws:
IOException- if there is an error reading the data atpath
-