public class WebBundle<T extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<T>
| Constructor and Description |
|---|
WebBundle(ContextFactory contextFactory,
ConfigAccessor<T> configAccessor) |
| Modifier and Type | Method and Description |
|---|---|
com.github.jknack.handlebars.Handlebars |
getHandlebars() |
RequestLanguage |
getRequestLanguage() |
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
protected InternalAssetServlet |
newInternalAssetServlet(io.dropwizard.setup.Environment environment,
WebConfiguration configuration,
ContextFactory contextFactory,
RequestLanguage requestLanguage) |
void |
run(T configuration,
io.dropwizard.setup.Environment environment) |
public WebBundle(ContextFactory contextFactory, ConfigAccessor<T> configAccessor)
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize in interface io.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>public com.github.jknack.handlebars.Handlebars getHandlebars()
public RequestLanguage getRequestLanguage()
protected InternalAssetServlet newInternalAssetServlet(io.dropwizard.setup.Environment environment, WebConfiguration configuration, ContextFactory contextFactory, RequestLanguage requestLanguage)
Copyright © 2014–2017 Soabase. All rights reserved.