Home » apache-tomcat-6.0.16-src » org.apache » catalina » valves »

org.apache.catalina.valves

Interfaces:

AccessLogValve.AccessLogElement   AccessLogElement writes the partial message into the buffer.  code | html

Abstract Classes:

RequestFilterValve   Implementation of a Valve that performs filtering based on comparing the appropriate request property (selected based on which subclass you choose to configure into your Container's pipeline) against a set of regular expressions configured for this Valve.  code | html
ValveBase   Convenience base class for implementations of the Valve interface.  code | html

Classes:

AccessLogValve  

Implementation of the Valve interface that generates a web server access log with the detailed line contents matching a configurable pattern. 

code | html
AccessLogValve.ByteSentElement   write bytes sent, excluding HTTP headers - %b, %B  code | html
AccessLogValve.CookieElement   write a specific cookie - %{xxx}c  code | html
AccessLogValve.DateAndTimeElement   write date and time, in Common Log Format - %t  code | html
AccessLogValve.ElapsedTimeElement   write time taken to process the request - %D, %T  code | html
AccessLogValve.HeaderElement   write incoming headers - %{xxx}i  code | html
AccessLogValve.HostElement   write remote host name - %h  code | html
AccessLogValve.HttpStatusCodeElement   write HTTP status code of the response - %s  code | html
AccessLogValve.LocalAddrElement   write local IP address - %A  code | html
AccessLogValve.LocalPortElement   write local port on which this request was received - %p  code | html
AccessLogValve.LocalServerNameElement   write local server name - %v  code | html
AccessLogValve.LogicalUserNameElement   write remote logical username from identd (always returns '-') - %l  code | html
AccessLogValve.MethodElement   write request method (GET, POST, etc.) - %m  code | html
AccessLogValve.ProtocolElement   write request protocol - %H  code | html
AccessLogValve.QueryElement   write Query string (prepended with a '?' if it exists) - %q  code | html
AccessLogValve.RemoteAddrElement   write remote IP address - %a  code | html
AccessLogValve.RequestAttributeElement   write an attribute in the ServletRequest - %{xxx}r  code | html
AccessLogValve.RequestElement   write first line of the request (method and request URI) - %r  code | html
AccessLogValve.RequestURIElement   write requested URL path - %U  code | html
AccessLogValve.ResponseHeaderElement   write a specific response header - %{xxx}o  code | html
AccessLogValve.SessionAttributeElement   write an attribute in the HttpSession - %{xxx}s  code | html
AccessLogValve.SessionIdElement   write user session ID - %S  code | html
AccessLogValve.StringElement   write any string  code | html
AccessLogValve.ThreadNameElement   write thread name - %I  code | html
AccessLogValve.UserElement   write remote user that was authenticated (if any), else '-' - %u  code | html
CometConnectionManagerValve  

Implementation of a Valve that tracks Comet connections, and closes them when the associated session expires or the webapp is reloaded.

This Valve should be attached to a Context.

 
code | html
CometConnectionManagerValve.ConnectionInfo     code | html
Constants   Manifest constants for the org.apache.catalina.valves package.  code | html
Constants.AccessLog     code | html
ErrorReportValve  

Implementation of a Valve that outputs HTML error pages.

This Valve should be attached at the Host level, although it will work if attached to a Context.

HTML code from the Cocoon 2 project.

 
code | html
ExtendedAccessLogValve   An implementation of the W3c Extended Log File Format.  code | html
ExtendedAccessLogValve.CookieElement     code | html
ExtendedAccessLogValve.DateElement     code | html
ExtendedAccessLogValve.PatternTokenizer     code | html
ExtendedAccessLogValve.RequestAttributeElement     code | html
ExtendedAccessLogValve.RequestHeaderElement     code | html
ExtendedAccessLogValve.RequestParameterElement     code | html
ExtendedAccessLogValve.ResponseAllHeaderElement   write a specific response header - x-O(xxx)  code | html
ExtendedAccessLogValve.ResponseHeaderElement     code | html
ExtendedAccessLogValve.ServletContextElement     code | html
ExtendedAccessLogValve.SessionAttributeElement     code | html
ExtendedAccessLogValve.TimeElement     code | html
FastCommonAccessLogValve     code | html
JDBCAccessLogValve  

This Tomcat extension logs server access directly to a database, and can be used instead of the regular file-based access log implemented in AccessLogValve. 

code | html
PersistentValve   Valve that implements the default basic behavior for the StandardHost container implementation.  code | html
RemoteAddrValve   Concrete implementation of RequestFilterValve that filters based on the string representation of the remote client's IP address.  code | html
RemoteHostValve   Concrete implementation of RequestFilterValve that filters based on the remote client's host name.  code | html
RequestDumperValve  

Implementation of a Valve that logs interesting contents from the specified Request (before processing) and the corresponding Response (after processing). 

code | html
SSLValve     code | html
SemaphoreValve  

Implementation of a Valve that limits concurrency.

This Valve may be attached to any Container, depending on the granularity of the concurrency control you wish to perform.

 
code | html