ExtendedAccessLogValve.RequestParameterElement (Apache Tomcat 9.0.120 API Documentation)
Description: declaration: package: org.apache.catalina.valves, class: ExtendedAccessLogValve, class: RequestParameterElement

# Class ExtendedAccessLogValve.RequestParameterElement

java.lang.Object
org.apache.catalina.valves.ExtendedAccessLogValve.RequestParameterElement

All Implemented Interfaces:
  `AbstractAccessLogValve.AccessLogElement`

Enclosing class:
  `ExtendedAccessLogValve`

protected static class ExtendedAccessLogValve.RequestParameterElement extends Object implements AbstractAccessLogValve.AccessLogElement
Log element that outputs a URL-encoded request parameter value.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RequestParameterElement(String parameter)`
  Creates a new RequestParameterElement for the specified parameter.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addElement(CharArrayWriter buf, Date date, Request request, Response response, long time)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RequestParameterElement

    public RequestParameterElement(String parameter)
    Creates a new RequestParameterElement for the specified parameter.
    Parameters:
      `parameter` - the name of the request parameter

- ## Method Details

  - ### addElement

    public void addElement(CharArrayWriter buf, Date date, Request request, Response response, long time)
    Specified by:
      `addElement` in interface `AbstractAccessLogValve.AccessLogElement`