Package com.google.inject.servlet
Class InternalServletModule
java.lang.Object
com.google.inject.AbstractModule
com.google.inject.servlet.InternalServletModule
- All Implemented Interfaces:
Module
This is a left-factoring of all ServletModules installed in the system. In other words, this
module contains the bindings common to all ServletModules, and is bound exactly once per
injector.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
Special Provider that tries to obtain an injected servlet context, specific to the current injector, failing which, it falls back to the static singleton instance that is available in the legacy Guice Servlet. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Configures aBinder
via the exposed methods.boolean
int
hashCode()
(package private) javax.servlet.http.HttpServletRequest
(package private) javax.servlet.http.HttpServletResponse
(package private) javax.servlet.http.HttpSession
provideRequestParameters
(javax.servlet.ServletRequest req) (package private) GuiceFilter
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
InternalServletModule
InternalServletModule()
-
-
Method Details
-
configure
protected void configure()Description copied from class:AbstractModule
Configures aBinder
via the exposed methods.- Overrides:
configure
in classAbstractModule
-
provideScopingOnlyGuiceFilter
-
provideHttpServletRequest
-
provideHttpServletResponse
-
provideHttpSession
-
provideRequestParameters
-
equals
-
hashCode
public int hashCode()
-