net.hasor.web.servlet.binder
接口 FilterPipeline

所有已知实现类:
ManagedFilterPipeline

public interface FilterPipeline

An 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, 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).

作者:
dhanji@gmail.com (Dhanji R. Prasanna)

方法摘要
 void destroyPipeline(net.hasor.core.AppContext appContext)
          销毁管道
 void dispatch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain defaultFilterChain)
          执行请求操作
 void initPipeline(net.hasor.core.AppContext appContext)
          初始化管道
 

方法详细信息

initPipeline

void initPipeline(net.hasor.core.AppContext appContext)
                  throws javax.servlet.ServletException
初始化管道

抛出:
javax.servlet.ServletException

dispatch

void dispatch(javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response,
              javax.servlet.FilterChain defaultFilterChain)
              throws IOException,
                     javax.servlet.ServletException
执行请求操作

抛出:
IOException
javax.servlet.ServletException

destroyPipeline

void destroyPipeline(net.hasor.core.AppContext appContext)
销毁管道



Copyright © 2013. All Rights Reserved.