AbstractAccessLogValve.UserElement (Apache Tomcat 9.0.117 API Documentation)
Description: declaration: package: org.apache.catalina.valves, class: AbstractAccessLogValve, class: UserElement

# Class AbstractAccessLogValve.UserElement

java.lang.Object
org.apache.catalina.valves.AbstractAccessLogValve.UserElement

All Implemented Interfaces:
  `AbstractAccessLogValve.AccessLogElement`

Enclosing class:
  `AbstractAccessLogValve`

protected static class AbstractAccessLogValve.UserElement extends Object implements AbstractAccessLogValve.AccessLogElement
write remote user that was authenticated (if any), else '-' - %u

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `UserElement()`

- ## 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

  - ### UserElement

    protected UserElement()

- ## Method Details

  - ### addElement

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