C D F G I L M O R S T U V W 
All Classes All Packages

C

close() - Method in interface com.google.inject.servlet.RequestScoper.CloseableScope
 
com.google.inject.servlet - package com.google.inject.servlet
Servlet API scopes, bindings and registration; this extension requires guice-servlet.jar.
configure() - Method in class com.google.inject.servlet.ServletModule
 
configureServlets() - Method in class com.google.inject.servlet.ServletModule
Servlet Mapping EDSL
contextDestroyed(ServletContextEvent) - Method in class com.google.inject.servlet.GuiceServletContextListener
 
contextInitialized(ServletContextEvent) - Method in class com.google.inject.servlet.GuiceServletContextListener
 
continueRequest(Callable<T>, Map<Key<?>, Object>) - Static method in class com.google.inject.servlet.ServletScopes
Deprecated.
You probably want to use transferRequest instead

D

destroy() - Method in class com.google.inject.servlet.GuiceFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.google.inject.servlet.GuiceFilter
 

F

filter(Iterable<String>) - Method in class com.google.inject.servlet.ServletModule
 
filter(String, String...) - Method in class com.google.inject.servlet.ServletModule
 
filterRegex(Iterable<String>) - Method in class com.google.inject.servlet.ServletModule
 
filterRegex(String, String...) - Method in class com.google.inject.servlet.ServletModule
 

G

getFilterInstance() - Method in interface com.google.inject.servlet.InstanceFilterBinding
Returns the filter instance that will be used.
getInitParams() - Method in interface com.google.inject.servlet.ServletModuleBinding
Returns any context params supplied when creating the binding.
getInjector() - Method in class com.google.inject.servlet.GuiceServletContextListener
Override this method to create (or otherwise obtain a reference to) your injector.
getLinkedKey() - Method in interface com.google.inject.servlet.LinkedFilterBinding
Returns the key used to lookup the filter instance.
getLinkedKey() - Method in interface com.google.inject.servlet.LinkedServletBinding
Returns the key used to lookup the servlet instance.
getPattern() - Method in interface com.google.inject.servlet.ServletModuleBinding
Returns the pattern used to match against the binding.
getServletContext() - Method in class com.google.inject.servlet.ServletModule
This method only works if you are using the GuiceServletContextListener to create your injector.
getServletInstance() - Method in interface com.google.inject.servlet.InstanceServletBinding
Returns the servlet instance that will be used.
getUriPatternType() - Method in interface com.google.inject.servlet.ServletModuleBinding
Returns the pattern type that this binding was created with.
GuiceFilter - Class in com.google.inject.servlet
Apply this filter in web.xml above all other filters (typically), to all requests where you plan to use servlet scopes.
GuiceFilter() - Constructor for class com.google.inject.servlet.GuiceFilter
 
GuiceServletContextListener - Class in com.google.inject.servlet
As of Guice 2.0 you can still use (your subclasses of) GuiceServletContextListener class as a logical place to create and configure your injector.
GuiceServletContextListener() - Constructor for class com.google.inject.servlet.GuiceServletContextListener
 

I

init(FilterConfig) - Method in class com.google.inject.servlet.GuiceFilter
 
InstanceFilterBinding - Interface in com.google.inject.servlet
A binding to a single instance of a filter.
InstanceServletBinding - Interface in com.google.inject.servlet
A binding to a single instance of a servlet.
isRequestScoped(Binding<?>) - Static method in class com.google.inject.servlet.ServletScopes
Returns true if binding is request-scoped.

L

LinkedFilterBinding - Interface in com.google.inject.servlet
A linked binding to a filter.
LinkedServletBinding - Interface in com.google.inject.servlet
A linked binding to a servlet.

M

matchesUri(String) - Method in interface com.google.inject.servlet.ServletModuleBinding
Returns true if the given URI will match this binding.

O

open() - Method in interface com.google.inject.servlet.RequestScoper
Opens up the request scope until the returned object is closed.

R

REGEX - com.google.inject.servlet.UriPatternType
 
REQUEST - Static variable in class com.google.inject.servlet.ServletScopes
HTTP servlet request scope.
RequestParameters - Annotation Type in com.google.inject.servlet
Apply this to field or parameters of type Map<String, String[]> when you want the HTTP request parameter map to be injected.
RequestScoped - Annotation Type in com.google.inject.servlet
Apply this to implementation classes when you want one instance per request.
RequestScoper - Interface in com.google.inject.servlet
Object that can be used to apply a request scope to a block of code.
RequestScoper.CloseableScope - Interface in com.google.inject.servlet
Closeable subclass that does not throw any exceptions from close.

S

scopeRequest(Callable<T>, Map<Key<?>, Object>) - Static method in class com.google.inject.servlet.ServletScopes
Scopes the given callable inside a request scope.
scopeRequest(Map<Key<?>, Object>) - Static method in class com.google.inject.servlet.ServletScopes
Returns an object that will apply request scope to a block of code.
ScopingException - Exception in com.google.inject.servlet
Exception thrown when there was a failure entering request scope.
ScopingException(String) - Constructor for exception com.google.inject.servlet.ScopingException
 
ScopingOnly - Annotation Type in com.google.inject.servlet
Annotates a GuiceFilter that provides scope functionality, but doesn't dispatch to ServletModule bound servlets or filters.
serve(Iterable<String>) - Method in class com.google.inject.servlet.ServletModule
 
serve(String, String...) - Method in class com.google.inject.servlet.ServletModule
 
serveRegex(Iterable<String>) - Method in class com.google.inject.servlet.ServletModule
 
serveRegex(String, String...) - Method in class com.google.inject.servlet.ServletModule
 
SERVLET - com.google.inject.servlet.UriPatternType
 
ServletModule - Class in com.google.inject.servlet
Configures the servlet scopes and creates bindings for the servlet API objects so you can inject the request, response, session, etc.
ServletModule() - Constructor for class com.google.inject.servlet.ServletModule
 
ServletModule.FilterKeyBindingBuilder - Interface in com.google.inject.servlet
See the EDSL examples at ServletModule.configureServlets()
ServletModule.ServletKeyBindingBuilder - Interface in com.google.inject.servlet
See the EDSL examples at ServletModule.configureServlets()
ServletModuleBinding - Interface in com.google.inject.servlet
A binding created by ServletModule.
ServletModuleTargetVisitor<T,​V> - Interface in com.google.inject.servlet
A visitor for the servlet extension.
ServletScopes - Class in com.google.inject.servlet
Servlet scopes.
SESSION - Static variable in class com.google.inject.servlet.ServletScopes
HTTP session scope.
SessionScoped - Annotation Type in com.google.inject.servlet
Apply this to implementation classes when you want one instance per session.

T

through(Key<? extends Filter>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
 
through(Key<? extends Filter>, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
 
through(Filter) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
 
through(Filter, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
 
through(Class<? extends Filter>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
 
through(Class<? extends Filter>, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder
 
transferRequest() - Static method in class com.google.inject.servlet.ServletScopes
Returns an object that "transfers" the request to another thread.
transferRequest(Callable<T>) - Static method in class com.google.inject.servlet.ServletScopes
Wraps the given callable in a contextual callable that "transfers" the request to another thread.

U

UriPatternType - Enum in com.google.inject.servlet
An enumeration of the available URI-pattern matching styles

V

valueOf(String) - Static method in enum com.google.inject.servlet.UriPatternType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.inject.servlet.UriPatternType
Returns an array containing the constants of this enum type, in the order they are declared.
visit(InstanceFilterBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
visit(InstanceServletBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
visit(LinkedFilterBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
visit(LinkedServletBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor

W

with(Key<? extends HttpServlet>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
 
with(Key<? extends HttpServlet>, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
 
with(HttpServlet) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
 
with(HttpServlet, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
 
with(Class<? extends HttpServlet>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
 
with(Class<? extends HttpServlet>, Map<String, String>) - Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
 
C D F G I L M O R S T U V W 
All Classes All Packages