public class GuiceWebModule
extends com.google.inject.servlet.ServletModule
GuiceFilter
for application and admin scopes. Also, initializes request and session scopes
(as first registered servlet module).
Servlet modules support may be disabled, see
GuiceyOptions.GuiceFilterRegistration
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GUICE_FILTER
Guice filter registration name.
|
Constructor and Description |
---|
GuiceWebModule(io.dropwizard.setup.Environment environment,
java.util.EnumSet<javax.servlet.DispatcherType> dispatcherTypes) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureServlets() |
configure, filter, filter, filterRegex, filterRegex, getServletContext, serve, serve, serveRegex, serveRegex
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public static final java.lang.String GUICE_FILTER