guice-servlet.jar
.See: Description
Interface | Description |
---|---|
FilterPipeline |
A dispatcher abstraction for guice-servlet registered servlets and filters.
|
InstanceFilterBinding |
A binding to a single instance of a filter.
|
InstanceServletBinding |
A binding to a single instance of a servlet.
|
LinkedFilterBinding |
A linked binding to a filter.
|
LinkedServletBinding |
A linked binding to a servlet.
|
ServletModule.FilterKeyBindingBuilder |
See the EDSL examples at
ServletModule.configureServlets() |
ServletModule.ServletKeyBindingBuilder |
See the EDSL examples at
ServletModule.configureServlets() |
ServletModuleBinding |
A binding created by
ServletModule . |
ServletModuleTargetVisitor<T,V> |
A visitor for the servlet extension.
|
UriPatternMatcher |
A general interface for matching a URI against a URI pattern.
|
Class | Description |
---|---|
AbstractFilterPipeline |
Skeleton implementation of a central routing/dispatch class which uses a sequence of
FilterDefinition s to filter requests before delegating to the servlet pipeline. |
AbstractServletPipeline |
Skeleton implementation of a wrapping dispatcher for servlets based on a sequence of
ServletDefinition s, much like AbstractFilterPipeline is for filters. |
FilterDefinition |
Defines a filter mapped to a URI pattern and performs the request filtering for that filter.
|
GuiceFilter |
Apply this filter in web.xml above all other filters (typically), to all requests where you plan
to use servlet scopes.
|
GuiceServletContextListener |
As of Guice 2.0 you can still use (your subclasses of)
GuiceServletContextListener
class as a logical place to create and configure your injector. |
ServletDefinition |
Defines a servlet mapped to a URI pattern and performs the request dispatch to that servlet.
|
ServletModule |
Configures the servlet scopes and creates bindings for the servlet API
objects so you can inject the request, response, session, etc.
|
ServletScopes |
Servlet scopes.
|
Enum | Description |
---|---|
UriPatternType |
An enumeration of the available URI-pattern matching styles
|
Exception | Description |
---|---|
ScopingException |
Exception thrown when there was a failure entering request scope.
|
Annotation Type | Description |
---|---|
RequestParameters |
Apply this to field or parameters of type
Map<String, String[]>
when you want the HTTP request parameter map to be injected. |
RequestScoped |
Apply this to implementation classes when you want one instance per request.
|
ScopingOnly |
Annotates a
GuiceFilter that provides scope functionality, but
doesn't dispatch to ServletModule bound servlets or filters. |
SessionScoped |
Apply this to implementation classes when you want one instance per session.
|
guice-servlet.jar
.
Apply GuiceFilter
to any servlets which will use the servlet
scopes. Install ServletModule
into your Injector
to install everything at once.
Copyright © 2006–2016 Google, Inc.. All rights reserved.