Package com.google.inject.servlet
Interface FilterPipeline
-
- All Known Implementing Classes:
DefaultFilterPipeline,ManagedFilterPipeline
interface FilterPipelineAn internal dispatcher for guice-servlet registered servlets and filters. By default, we assume a Guice 1.0 style servlet module is in play. In other words, we dispatch directly to the web.xml pipeline after setting up scopes.If on the other hand,
ServletModuleis used to register managed servlets and/or filters, then a different pipeline is bound instead. Which, after dispatching to Guice-injected filters and servlets continues to the web.xml pipeline (if necessary).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroyPipeline()voiddispatch(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain defaultFilterChain)voidinitPipeline(javax.servlet.ServletContext context)
-
-
-
Method Detail
-
initPipeline
void initPipeline(javax.servlet.ServletContext context) throws javax.servlet.ServletException- Throws:
javax.servlet.ServletException
-
destroyPipeline
void destroyPipeline()
-
dispatch
void dispatch(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain defaultFilterChain) throws java.io.IOException, javax.servlet.ServletException- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
-