Home » Guice-2.0 » com.google » inject » servlet »

com.google.inject.servlet

Interfaces:

FilterPipeline   An internal dispatcher for guice-servlet registered servlets and filters.  code | html
ServletModule.FilterKeyBindingBuilder   See the EDSL examples at ServletModule#configureServlets()   code | html
ServletModule.ServletKeyBindingBuilder   See the EDSL examples at ServletModule#configureServlets()   code | html
UriPatternMatcher   A general interface for matching a URI against a URI pattern.  code | html

Abstract Classes:

GuiceServletContextListener   As of Guice 2.0 you can still use (your subclasses of) {@code GuiceServletContextListener} class as a logical place to create and configure your injector.  code | html

Classes:

UriPatternType   An enumeration of the available URI-pattern matching styles  code | html
UriPatternType.ServletStyleUriPatternMatcher.Kind     code | html
DefaultFilterPipeline   This default pipeline simply dispatches to web.xml's servlet pipeline.  code | html
FilterChainInvocation   A Filter chain impl which basically passes itself to the "current" filter and iterates the chain on {@code doFilter()}.  code | html
FilterDefinition   An internal representation of a filter definition against a particular URI pattern.  code | html
FiltersModuleBuilder   Builds the guice module that binds configured filters, with their wrapper FilterDefinitions.  code | html
FiltersModuleBuilder.FilterKeyBindingBuilderImpl     code | html
GuiceFilter  

Apply this filter in web.xml above all other filters (typically), to all requests where you plan to use servlet scopes. 

code | html
GuiceFilter.Context     code | html
InternalServletModule   This is a left-factoring of all ServletModules installed in the system.  code | html
ManagedFilterPipeline   Central routing/dispatch class handles lifecycle of managed filters, and delegates to the servlet pipeline.  code | html
ManagedServletPipeline   A wrapping dispatcher for servlets, in much the same way as ManagedFilterPipeline is for filters.  code | html
RequestParameters   Apply this to field or parameters of type {@code Map} when you want the HTTP request parameter map to be injected.  code | html
RequestScoped   Apply this to implementation classes when you want one instance per request.  code | html
ServletDefinition   An internal representation of a servlet definition mapped to a particular URI pattern.  code | html
ServletModule   Configures the servlet scopes and creates bindings for the servlet API objects so you can inject the request, response, session, etc.  code | html
ServletScopes   Servlet scopes.  code | html
ServletsModuleBuilder   Builds the guice module that binds configured servlets, with their wrapper ServletDefinitions.  code | html
ServletsModuleBuilder.ServletKeyBindingBuilderImpl     code | html
SessionScoped   Apply this to implementation classes when you want one instance per session.  code | html
UriPatternType.RegexUriPatternMatcher   Matchers URIs using a regular expression.  code | html
UriPatternType.ServletStyleUriPatternMatcher   Matches URIs using the pattern grammar of the Servlet API and web.xml.  code | html