Package io.dropwizard.web
Class WebBundle<T extends io.dropwizard.core.Configuration>
- java.lang.Object
-
- io.dropwizard.web.WebBundle<T>
-
- All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<T>
public abstract class WebBundle<T extends io.dropwizard.core.Configuration> extends Object implements io.dropwizard.core.ConfiguredBundle<T>
-
-
Constructor Summary
Constructors Constructor Description WebBundle()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidconfigureHeaderFilter(io.dropwizard.core.setup.Environment environment, String uriPath, String urlPattern, Map<String,String> headers)abstract WebConfigurationgetWebConfiguration(T config)voidinitialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap)voidrun(T configuration, io.dropwizard.core.setup.Environment environment)
-
-
-
Method Detail
-
initialize
public void initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap)
- Specified by:
initializein interfaceio.dropwizard.core.ConfiguredBundle<T extends io.dropwizard.core.Configuration>
-
run
public void run(T configuration, io.dropwizard.core.setup.Environment environment) throws Exception
-
configureHeaderFilter
protected void configureHeaderFilter(io.dropwizard.core.setup.Environment environment, String uriPath, String urlPattern, Map<String,String> headers)
-
getWebConfiguration
public abstract WebConfiguration getWebConfiguration(T config)
-
-