Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1079854
  • 博文数量: 165
  • 博客积分: 3900
  • 博客等级: 中校
  • 技术积分: 1887
  • 用 户 组: 普通用户
  • 注册时间: 2007-04-06 15:15
文章分类

全部博文(165)

文章存档

2020年(3)

2019年(8)

2017年(2)

2016年(8)

2015年(14)

2013年(15)

2012年(32)

2011年(11)

2010年(14)

2009年(7)

2008年(20)

2007年(31)

分类: 服务器与存储

2016-08-23 22:36:19

WHAT IS A TOMCAT VALVE?

A Tomcat valve - a new technology introduced with Tomcat 4 which allows you to associate an instance of a Java class with a particular Catalina container.

This configuration allows the named class to act as a preprocessor of each request. These classes are called valves, and they must implement the org.apache.catalina.Valve interface or extend the org.apache.catalina.valves.ValveBase class. Valves are proprietary to Tomcat and cannot, at this time, be used in a different servlet/JSP container. At this writing, Tomcat comes configured with four valves:

  • Access Log
  • Remote Address Filter
  • Remote Host Filter
  • Request Dumper

Each of these valves (and their available attributes) are described as follows.

阅读(995) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~