Class GuiceWebModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- com.google.inject.servlet.ServletModule
-
- ru.vyarus.dropwizard.guice.module.jersey.GuiceWebModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class GuiceWebModule extends com.google.inject.servlet.ServletModule
RegistersGuiceFilter
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
.- Since:
- 21.08.2016
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GUICE_FILTER
Guice filter registration name.
-
Constructor Summary
Constructors Constructor Description GuiceWebModule(io.dropwizard.core.setup.Environment environment, java.util.EnumSet<javax.servlet.DispatcherType> dispatcherTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureServlets()
-
Methods inherited from class com.google.inject.servlet.ServletModule
configure, filter, filter, filterRegex, filterRegex, getServletContext, serve, serve, serveRegex, serveRegex
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Field Detail
-
GUICE_FILTER
public static final java.lang.String GUICE_FILTER
Guice filter registration name.- See Also:
- Constant Field Values
-
-