1.Filter简介

Filter称之为过滤器,是用来做一些拦截的任务。比如客户端请求服务器的某个资源时(可以是Servlet、JSP、HTML等等),我们可以拦截。当服务器返回资源给客户端的时候,我们也可以拦截。这样我们就可以在调用资源之前和之后分别加入一些业务逻辑。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnYAAAD9CAIAAAC+3q2cAAAcS0lEQVR4nO3d+1fU953H8e/Z/WX3h/4POac5/tLuHpNNk2rSpElsLt2sNa3ZTdqk2baRnmTbRGKCtyRqoomJ9RajMUYTREQBFRXEGwpeEO8iIiIowQsoioogCHLbHwaG78x858LMfD7zffN5Ps/3J5wZOC9HHs53ZsDqJSIiIgVZif4CiIiIhmYQS0REpCSIJSIiUhLEEhERKQliiYiIlASxRERESoJYIiIiJUEsERGRkiCWEp1lcXBwcIg/HL+9af52SuRfwv9hcHBwcMR+OH570/ztlMi/4PdOIiIBQSy5N4glItFBLLk3iCUi0UEsuTeIJSLRQSy5N4glItFBLLk3iCUi0UEsuTeIJSLRQSy5N4glItFBLLk3iCUi0UEsuTeIJSLRQSy5N4glItFBLLm3yIjNT7LsJeVr+MqIiCIIYsm9hSfWj1dPIxdUa/oCiYhCBbHk3sIR2wesndTqBSMhlohcEsSSewtDbPWCkZwZJiIXB7Hk3iIjNvyD1r4LBjmPXL1gpOeDAxdLyu+/UuCN+388qhsnIiOCWHJv4U4Ue9kKoZavgE4SehRMSrJdLim/N5ixnpPTfR+N/saJyIQgltxbBK8otr/eycEuh3PJAR8K+vjSyVjP5/NcMKYbJyIDglhybxG+L9b3saSdsvwkp3O9nst7Lxf8Kd1AY+3CxnjjRDT0g1hyb4P70RMDD2j7QXM+j+t/OjfYk669gUA6PIaN/saJaMgHseTeBv/Tnfrdi5eCvsbahYVYIgobxJJ7i+YHKNpfjhSZb6EvZWPVR9i43DgRDe0gltxb9MQ6PewMVhgFvbfh/9xrPG6ciIZ0EEvuLTSx3rec+n0o8MlTfwjzkwJf9BtcwT5KkwJe3RSPGyeioRzE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hybxBLRKKDWHJvEEtEooNYcm8QS0Sig1hybxBLRKKDWHJvEEtEooNYcm8QS0Sig1hybwn/cSIcHBwcsR+O3940fzsl8i/h/zA4ODg4Yj8cv71p/nZKRERkSBBLRESkJIglIiJSEsQSEREpCWKJiIiUBLFERERKglgiIiIlQSwREZGS/h+OlOUdwZ9lMgAAAABJRU5ErkJggg==" alt="" />

当我们对某个资源加上多个过滤器的时候,就形成了过滤链。请求(request)会依次通过链上的过滤器,响应(response)会依次以相反的顺序通过过滤器。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAq0AAAD8CAIAAADScwqHAAAgAElEQVR4nO2d538c1fnF9cfkJS/AOIafTDDEBAjFEEpiEjsEAkqA4N6w3LGNbIN7t2yr92ZJVpfVJatavffeJav3+b3Y1WrLrLS7d/bOnXvP9zMvYLXanef42XOeuTM7cpEAAAAAICouau8AAAAAAFQDcwAAAAAgLpgDAAAAAHHBHAAAAACIC+YAAAAAQFwwBwAAAADigjkAAAAAEBfMAdRxccGGDRs2bMpvwCEgHHVU/6hgw4YNG5cbcAgIRx3VPyrYsGHDxuUGHALCUQctCwAACgJTJQPCUQctCwAACgJTJQPCUQctCwAACgJTJQPCUQctCwAACgJTJQPCUQctCwAACgJTJQPCUQctCwAACgJTJQPCUQctCwAACgJTJQPCUQctCwAACgJTJQPCUQctCwAACgJTJQPCUUfxlm247Ori4uJ6uUGxVySAqZ0BAIgA5gAyIBx11m7ZODcXWdzijH9uyFra0at7PyOM31qpnTGrEQAArIE5gAwIRx0ac4CzRgOLEcBi3zAHAAAogzmADAhHHVvngOVkXRNqc4BhPjHdtYbLrsrPAQAAYCOYA8iAcNTR6hygnwLW2C3MAQAAymAOIAPCUYd8DjDLWtP/lT2psPJapiv75nndcNlV9+DK06ycjLBh34z2xPLXzHbT4glyNbpebjAtAOMGAABzACkQjjrqzQHyZ/ctrvJzdXNzNf9Vm8/X63fG1eKdjH5V/voH09eWnQNMdgyjAABAkiTMAaRAOOo4fJ2gY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qBlAQBAQWCqZEA46qBlAQBAQWCqZEA46qBlAQBAQWCqZEA46qBlAQBAQWCqZEA46hhaFhs2bNiwKbgBh4Bw1FH9o4INGzZsXG7AISAcdVT/qGDDhg0blxtwCAgHAAAAiAvmAAAAAEBcMAcAAAAA4oI5AAAAABAXzAEAAACAuGAOAAAAAMTl/wEbdnOVbn9nqQAAAABJRU5ErkJggg==" alt="" />

2.Filter源码分析

Filter接口源代码:

public interface Filter {
void init(FilterConfig var1) throws ServletException; void doFilter(ServletRequest var1, ServletResponse var2, FilterChain var3) throws IOException, ServletException; void destroy();
}

2.1 FilterConfig

当容器去初始化一个filter的时候,就会根据web.xml文件的配置和当前的运行环境去构造一个FilterCongif实例并传给filter。所以一个filter对应一个FilterConfig实例。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcUAAADcCAIAAACODS00AAAQ8UlEQVR4nO2cP4vdRheH9UUMrhaXJrjwbr0QSJWAi1ROMPbWrxtDnICLrdJknUAgzcLb2oXBBNz5Q7i2P4b79y2ke+/8OSMd6Z65o9E8D78i3tWVRvdonpmRtOn+BwAAFnSlGwAAsBHwKQCADfgUAMAGfAoAYAM+BQCwAZ8CANiATwEAbMCnAAA24FMAABvwKQCADfgUAMAGfAo6Plx1XdddfSjdDp91tgpaBZ9uhd4sF68/h7/4/Poi4Zz+N0oZzTRXv3l21fmtSp+qJac5CtQIPt0MCeENvV8wbf8bwcBzdj+6dX7t5PWpPODgU0iBT7eDbLy92SJxfriaodN5Pv1w1XXd1VX+xXje9f6sCTwAPt0Q4nyzl+ZF6jdzF/C6zXudfjiBj/AprAl8uiEEoX5+fdF1F68/xGIQXXFYpkf+PZjL3Uh0zU6nI0I6bJLem3qbw88kve5ueIizdO+E3V/6v/APLUo8+ID024vXn73t1GsDqAV8uiUifQ06/RwrIDadZBBng+F518VFehNhzymhujcEUntTb5P2qe9SUYsBO8fN8qm4p3gL4ctDqdsCn26KsKcHU7xw/hXNx9zuHTx2Ee7D7mw1Nu9N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0P1TgU7LLMKVyO3bwaqqHPM2MdxjMQOV/Kg502GyBT4XJsrBD6Vwi/aXaoGx8Jw0/+HQ6pf2hAp8SN7s+PzhFfDtV7VNfE+FEz/ug4kDRDr+Ku5Xz+IlgsetQxwt9qmz8YR0QtRafTqe0P1TgU+JHmDaO9vPR154cGUVGm3ugxGa65/snmJ9ONt7VbrAxPp1OaX+owKfEj3Bbc3Q1Pf4a6f4G5eFVpKUHen8te0d4ZJT6oO7+6Wyfqhq/v50qDQD4dDql/aECnzacf757GChmdws1XJX7svj09M74nM7JsKB+GN/lFG+njhzosLdQi/tXFPyfP//93mH/uzfDFM/3VT4VF/Lpxnvidp/1j50XcVPaHyrwacM5PIDyEaZOEaNzOjf7V1zD25fhB6cOFOyt61TPzWbtX+VTsQ3jO48emkUvRSTOixxS2h8q8GnbiZQqTpH83h79vX/kIPEQ4Z/Sp+UlH2hI+il58LdP0rkE+w830Pk01YZU48U7vOEb/mNP/8n1V3y6NopfEISQxSntDxX4lBBSQUr7QwU+JYRUkNL+UIFPCSEVpLQ/VOBTQkgFKe0PFfiUEFJBSvtDBT4lhFSQ0v5QgU8JIRWktD9U4FNCSAUp7Q8V+JQQUkFK+0MFPiWEVJDS/lDRkE8BALKCTwEAbMCnAAA24FMAABvwKQCADfgUAMAGfAoAYAM+BQCwAZ8CANiATwEAbMCnAAA24FMAABuy+JQQQloOPiWEEJvgU0IIsYmBTwEAYBx8CgBgAz4FALABnwIA2IBPAQBswKcAADbgUwAAG/ApAIAN+BQAwAZ8CgBgAz4FALABnwIA2PB/jrv0BTXeGQ0AAAAASUVORK5CYII=" alt="" />

public interface FilterConfig {
String getFilterName(); ServletContext getServletContext(); String getInitParameter(String var1); Enumeration getInitParameterNames();
}

getFilterName方法返回我们在web.xml里面配置的名称。

getServletContext返回ServletContext实例,这个和之前介绍Servlet的时候讲到的是一个东西。一个应用就一个ServletContext实例。

getInitParameter和getInitParameterNames和Servlet的类似。就是获取在web.xml里面配置的初始化参数。

2.2 FilterChain

FilterChain就是我们上面说的过滤链,当请求或响应被filter拦截时,容器提供FilterChain实例给filter让其使用。

public interface FilterChain {
void doFilter(ServletRequest var1, ServletResponse var2) throws IOException, ServletException;
}

FilterChain里面就一个方法doFilter,这个方法就是调用过滤链的下一个filter,如果当前filter是链中最后的一个,则跳转至请求的资源或返回响应给客户端。

2.3 Filter

Filter里面有三个方法,也是它的生命周期。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtkAAAEsCAIAAACZmDj+AAAgAElEQVR4nO2dd3wU95339bed2Il9jlOe5HiSO19yuXvFl8vrEse5PBEWBtdgjLsNuMWJHcdeCQlEbxICVAEJlZVEb6KqIYoKEhKIKoFFFQIkehNI2r4z8/yxYrVlZnZ2d2a/OzOf9+vzR2K0M7/5zXfm954ewwEAAAAA0BFD3QAAAAAA6Bq4CAAAAAAogYsAAAAAgBK4CAAAAAAogYsAAAAAgBK4CAAAAAAogYsAAAAAgBK4CAAAAAAogYsAAAAAgBK4CAAA6IsN7ZkIonSCqkm4CAAA6AvyUQrRQ4KqSbgIAMpCvkdAQgh11SgLefciekhQNSnVRciXConOBL8b1B3k6wgJIdRVoyzk3YvoIUHVJFwECSvB7wZ1B/k6QkIIddUoC3n3InpIUDUJF0HCSvC7Qd1Bvo6QEEJdNcpC3r2IHhJUTcJFkLAS/G5Qd5CvIySEUFeNspB3L6KHBFWTcBEkrAS/G9Qd5OsICSHUVaMs5N2L6CFB1SRcBAkrwe8GdQf5OkJCCHXVKAt59yJ6SFA1CRdBwkrwu0HdQb6OkBBCXTXKQt69iB4SVE3CRZCwEvxuUHeQryMkhFBXjbKQd68Gk/tMTExMzNhPIzbHnKRhMTExcbnUCy6coGoSLoKEleB3g7qDfB0hIYS6apSFvHtDjmsAjuSQLzVwEb8EVZNwESSsBL8b1B3k6wgJIdRVoyzk3buhfcr4p2NiYp5JDvKHOnARqT0DF0GQoQS/G9Qd5OsICSHUVaMs5N0bsotEb+AifgmqJrXvItHr0ZpI8LtB3U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kveKQ4CfB3hAxu8cQ3AuIqEBnneM+szIPU3Pv5EwC99LNlKu0Yg0Q+JagIsAEDZwEQAIkDKekUb0/R9KJ+CDxFEf6voCQGXARQAggHywDBCfm0AjHLgIADoDLgIAAeSDpXgCv1ZE0cBFANAZcBEACCAfLEUT6L3vSgcuAoDOgIsAQAD5YIkoGur6AkBlwEUAIIB8sEQUDXV9AaAy4CIAEEA+WCKKhrq+AFAZcBEACCAfLBFFQ11fAKgMuAgABJAPloiioa4vAFQGXAQAAsgHS0TRUNcXACoDLgIAAeSDJaJoqOsLAJUBFwEAAAAAJXARAAAAAFACFwEAAAAAJXARAAAAAFACFwEAAAAAJXARAAAAAFACFwEAAAAAJXARAAAAAFDy/wF8qOD5ZapSIwAAAABJRU5ErkJggg==" alt="" />

2.3.1 init

filter的初始化方法,跟servlet一样在其生命周期内只会被执行一次。但是filter初始化的时机和servlet不一样,当servlet容器(比如Tomcat)启动完成后就会检索web.xml里面配置的filter,从上往下依次回调每个filter的init方法对其进行初始化。(这里的filterConfig参数是容器构造并传入的。)

2.3.2 doFilter

实现拦截逻辑的地方,比如一个请求被拦截,这里可以在调用具体资源之前编写一些业务逻辑。然后调用chain.doFilter流转到后置filter,如果当前filter是链中最后的一个,则跳转至请求的资源。当chain.doFilter执行完成后,可以再写一些业务逻辑。然后容器将执行权流转到前置filter,如果当前filter是链中最前的一个,则将响应返回给客户端。(这里的参数chain是容器构造并传入的。)

2.3.3 destory

和servlet的destroy方法同样的道理,当servlet容器关闭或需要更多内存的时候,会销毁filter。这个方法就使得servlet容器拥有回收资源的能力。

同样地,destroy方法在filter的生命周期中只会被调用一次。

3.Java编写Filter实例

Filter开发分为2步:

  1. 编写java类实现Filter接口,并实现其doFilter方法。
  2. 在web.xml 文件中使用<filter>和<filter-mapping>元素对编写的filter类进行注册,并设置它所能拦截的资源。

注意:web.xml 中的 filter-mapping 元素的顺序决定了 Web 容器应用过滤器到 Servlet 的顺序

Filter接口实现类

package com.xzh;

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse; /**
* Created by xiangzh on 2017/8/29.
*/
public class FilterDemo implements Filter { @Override
public void init(FilterConfig filterConfig) throws ServletException {
System.out.println("--------Filter初始化--------"); // 获取初始化参数
String site = filterConfig.getInitParameter("param");
System.out.println("参数测试: " + site);
} @Override
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
System.out.println("-----------方法执行前处理-----------");
// 把请求传回过滤链
filterChain.doFilter(servletRequest,servletResponse);
System.out.println("-----------方法执行后处理-----------");
} @Override
public void destroy() {
/* 在 Filter 实例被 Web 容器从服务移除之前调用 */
}
}

web.xml配置filter

<filter>
<filter-name>FilterDemo</filter-name>
<filter-class>com.xzh.FilterDemo</filter-class>
<init-param>
<param-name>param</param-name>
<param-value>这是一个测试参数</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>FilterDemo</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

这里需要注意的是,filter可以对url进行过滤,也可以针对具体的servlet进行过滤,只需要制定servlet的名称,如:

<servlet>
<servlet-name>ServletDemo</servlet-name>
<servlet-class>com.xzh.ServletDemo</servlet-class>
</servlet> <servlet-mapping>
<servlet-name>ServletDemo</servlet-name>
<url-pattern>/ServletDemo</url-pattern>
</servlet-mapping> <filter>
<filter-name>FilterDemo</filter-name>
<filter-class>com.xzh.FilterDemo</filter-class>
<init-param>
<param-name>param</param-name>
<param-value>这是一个测试参数111</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>FilterDemo</filter-name>
<servlet-name>ServletDemo</servlet-name>
</filter-mapping>

效果截图

上例中,在web.xml中设置了参数,并在filter中获取。

结果中,init()方法初始化执行一次,doFilter()方法访问一次执行一次。

参考:

JavaWeb——Filter

Java三大器之过滤器(Filter)的工作原理和代码演示

Java中的Filter过滤器

JavaWeb—过滤器Filter的更多相关文章

  1. JavaWeb过滤器Filter(附tomcat部分源码分析)

    过滤器Filter 过滤器通常对一些web资源进行拦截,做完一些处理器再交给下一个过滤器处理,直到所有的过滤器处理器,再调用servlet实例的service方法进行处理.过滤器可以对request进 ...

  2. Introduction of Servlet Filter(介绍javaweb组件之一过滤器filter)

    javaweb的三大组件都需要交给web服务器运行,都需要在web.xml文件中配置. ①Servlet:javax.servlet.Servlet通过http协议接受客户端的请求,并作出响应的Jav ...

  3. JavaWeb学习笔记(二十二)—— 过滤器filter

    一.什么是过滤器 过滤器filter是JavaWeb三大组件之一,它与Servlet很相似!不过过滤器是用来拦截请求的,而不是处理请求的.WEB开发人员通过Filter技术,对web服务器管理的所有w ...

  4. JavaWeb 之 Filter:过滤器

    一.Filter 概述 1.概念 web 中的过滤器:当访问服务器的资源时,过滤器可以将请求拦截下来,完成一些特殊的功能. 2.作用 一般用于完成通用的操作.如:登录验证.统一编码处理.敏感字符等功能 ...

  5. 【JavaWeb】Filter 过滤器

    Filter 过滤器 简介 Filter 过滤器是 JavaWeb 三大组件之一 Filter 过滤器是 JavaEE 的规范,也就是接口 Filter 过滤器的作用是 拦截请求,过滤响应 拦截请求的 ...

  6. ⑧javaWeb之在例子中学习(过滤器Filter)

    前言 本系列 Servlet & JSP 学习系列[传送门]逐渐到了中期了,希望大家喜欢我写的,总结的点点滴滴- 今天我们来讲讲过滤器 你们的支持是我写博客的动力哦. 最近买了两本书,觉得大二 ...

  7. JavaWeb -- Servlet Filter 过滤器

    1. Servlet API中提供了一个Filter接口,开发web应用时,如果编写的Java类实现了这个接口,则把这个java类称之为过滤器Filter.通过Filter技术,开发人员可以实现用户在 ...

  8. Javaweb基础--->过滤器filter(转发)

    一.Filter简介 Filter也称之为过滤器,它是Servlet技术中最激动人心的技术,WEB开发人员通过Filter技术,对web服务器管理的所有web资源:例如Jsp, Servlet, 静态 ...

  9. JavaWeb学习篇之----Servlet过滤器Filter和监听器

    首先来看一下Servlet的过滤器内容: 一.Servlet过滤器的概念: ************************************************************** ...

随机推荐

  1. SpringCloud系列八:自定义Ribbon配置

    1. 回顾 上文使用Ribbon实现了客户端侧的负载均衡.但是很多场景下,我们可能需要自定义Ribbon的配置,比如修改Ribbon的负载均衡规则. Spring Cloud允许使用Java代码或属性 ...

  2. Linux tomcat安装详解(未完)

    转: http://blog.csdn.net/lcyaiym/article/details/76696192

  3. Atitit.导出excel报表的设计与实现java .net php 总

    Atitit.导出excel报表的设计与实现java .net php 总结 1. 导出报表 表格的设计要素1 1.1. 支持通用list<Map>转换1 1.2. 对于空列是否输出1 1 ...

  4. python自动生成文件头

    "auto add pyhton header --start autocmd BufNewFile *.py 0r ~/.vim/vim_template/vim_python_heade ...

  5. 学习spring in action 第一天

    这段时间,开始学习java吧,因为C sharp 学习了java的大量语法格式,所以,留意下,就不会错了,java 有的c sharp也有,而且之前我也学习过java的桌面开发,但是一下子上来就要自己 ...

  6. Codeforces 460E Roland and Rose(暴力)

    题目链接:Codeforces 460E Roland and Rose 题目大意:在以原点为圆心,半径为R的局域内选择N个整数点,使得N个点中两两距离的平方和最大. 解题思路:R最大为30.那么事实 ...

  7. driver基础

    驱动测试时,linux驱动常以模块方式插入内核.应包含头文件:linux/kernel.h,linux/module.h 设备驱动的一般结构:Soc(主芯片->设备控制器->外设引脚)-- ...

  8. hdu5795 A Simple Nim 求nim求法,打表找sg值规律 给定n堆石子,每堆有若干石子,两个人轮流操作,每次操作可以选择任意一堆取走任意个石子(不可以为空) 或者选择一堆,把它分成三堆,每堆不为空。求先手必胜,还是后手必胜。

    /** 题目:A Simple Nim 链接:http://acm.hdu.edu.cn/showproblem.php?pid=5795 题意:给定n堆石子,每堆有若干石子,两个人轮流操作,每次操作 ...

  9. Vuex 2 入门与提高。

    从计数器开始 让我们从一个简单的计数器,开始进入Vuex 的世界: 计数器应用的数据模型很简单:使用一个counter属性来表示计数器的 当前值就够了. 在Vue实例的created钩子 中,应用启动 ...

  10. Easyui 基于kindeditor的扩展

    源码 /** * Author : ____′↘夏悸 * Easyui KindEditor的简单扩展. * 有了这个之后,你就可以像使用Easyui组件的方式使用KindEditor了 * 前提是你 ...