This package contains a variety of small Valve implementations that do not warrant being packaged separately.
See: Description
Interface Summary | |
---|---|
AccessLogValve.AccessLogElement | AccessLogElement writes the partial message into the buffer. |
Class Summary | |
---|---|
AccessLogValve |
Implementation of the Valve interface that generates a web server access log with the detailed line contents matching a configurable pattern. |
AccessLogValve.ByteSentElement | write bytes sent, excluding HTTP headers - %b, %B |
AccessLogValve.CookieElement | write a specific cookie - %{xxx}c |
AccessLogValve.DateAndTimeElement | write date and time, in Common Log Format - %t |
AccessLogValve.ElapsedTimeElement | write time taken to process the request - %D, %T |
AccessLogValve.HeaderElement | write incoming headers - %{xxx}i |
AccessLogValve.HostElement | write remote host name - %h |
AccessLogValve.HttpStatusCodeElement | write HTTP status code of the response - %s |
AccessLogValve.LocalAddrElement | write local IP address - %A |
AccessLogValve.LocalPortElement | write local port on which this request was received - %p |
AccessLogValve.LocalServerNameElement | write local server name - %v |
AccessLogValve.LogicalUserNameElement | write remote logical username from identd (always returns '-') - %l |
AccessLogValve.MethodElement | write request method (GET, POST, etc.) |
AccessLogValve.ProtocolElement | write request protocol - %H |
AccessLogValve.QueryElement | write Query string (prepended with a '? |
AccessLogValve.RemoteAddrElement | write remote IP address - %a |
AccessLogValve.RequestAttributeElement | write an attribute in the ServletRequest - %{xxx}r |
AccessLogValve.RequestElement | write first line of the request (method and request URI) - %r |
AccessLogValve.RequestURIElement | write requested URL path - %U |
AccessLogValve.ResponseHeaderElement | write a specific response header - %{xxx}o |
AccessLogValve.SessionAttributeElement | write an attribute in the HttpSession - %{xxx}s |
AccessLogValve.SessionIdElement | write user session ID - %S |
AccessLogValve.StringElement | write any string |
AccessLogValve.ThreadNameElement | write thread name - %I |
AccessLogValve.UserElement | write remote user that was authenticated (if any), else '-' - %u |
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. |
Constants |
Manifest constants for the org.apache.catalina.valves
package.
|
Constants.AccessLog | |
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. |
ExtendedAccessLogValve | An implementation of the W3c Extended Log File Format. |
ExtendedAccessLogValve.CookieElement | |
ExtendedAccessLogValve.DateElement | |
ExtendedAccessLogValve.PatternTokenizer | |
ExtendedAccessLogValve.RequestAttributeElement | |
ExtendedAccessLogValve.RequestHeaderElement | |
ExtendedAccessLogValve.RequestParameterElement | |
ExtendedAccessLogValve.ResponseAllHeaderElement | write a specific response header - x-O(xxx) |
ExtendedAccessLogValve.ResponseHeaderElement | |
ExtendedAccessLogValve.ServletContextElement | |
ExtendedAccessLogValve.SessionAttributeElement | |
ExtendedAccessLogValve.TimeElement | |
FastCommonAccessLogValve | |
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. |
PersistentValve | Valve that implements per-request session persistence. |
RemoteAddrValve |
Concrete implementation of RequestFilterValve that filters
based on the string representation of the remote client's IP address.
|
RemoteHostValve |
Concrete implementation of RequestFilterValve that filters
based on the remote client's host name.
|
RemoteIpValve |
Tomcat port of mod_remoteip, this valve replaces the apparent client remote IP address and hostname for the request with the IP address list presented by a proxy or a load balancer via a request headers (e.g. |
RequestDumperValve |
Implementation of a Valve that logs interesting contents from the specified Request (before processing) and the corresponding Response (after processing). |
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. |
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. |
SSLValve | |
ValveBase | Convenience base class for implementations of the Valve interface. |
WebdavFixValve | Valve that attempts to force MS WebDAV clients connecting on port 80 to use a WebDAV client that actually works. |
This package contains a variety of small Valve implementations that do
not warrant being packaged separately. In addition, there is a convenience
base class (ValveBase
) that supports the usual mechanisms for
including custom Valves into the corresponding Pipeline.
Other packages that include Valves include
org.apache.tomcat.logger
and
org.apache.tomcat.security
.