public interface FilterPipeline
If on the other hand, ServletModule
is 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).
Modifier and Type | Method and Description |
---|---|
void |
destroyPipeline()
Destroys the pipeline, taking it out of service.
|
void |
dispatch(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain defaultFilterChain)
Dispatches a request against the pipeline.
|
void |
initPipeline(javax.servlet.ServletContext context)
Initializes the pipeline, putting it into service.
|
void initPipeline(javax.servlet.ServletContext context) throws javax.servlet.ServletException
context
- of the web applicationjavax.servlet.ServletException
void destroyPipeline()
void dispatch(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain defaultFilterChain) throws IOException, javax.servlet.ServletException
request
- to dispatchresponse
- to populatedefaultFilterChain
- for last resort filteringIOException
javax.servlet.ServletException
Copyright © 2006–2015 Google, Inc.. All rights reserved.