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 classSpecial 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 voidConfigures aBindervia the exposed methods.booleaninthashCode()(package private) javax.servlet.http.HttpServletRequest(package private) javax.servlet.http.HttpServletResponse(package private) javax.servlet.http.HttpSessionprovideRequestParameters(javax.servlet.ServletRequest req) (package private) GuiceFilterMethods 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:AbstractModuleConfigures aBindervia the exposed methods.- Overrides:
configurein classAbstractModule
-
provideScopingOnlyGuiceFilter
-
provideHttpServletRequest
-
provideHttpServletResponse
-
provideHttpSession
-
provideRequestParameters
-
equals
-
hashCode
public int hashCode()
-