AbstractAccessLogValve.ConnectionStatusElement (Apache Tomcat 10.1.5 API Documentation)

Package org.apache.catalina.valves

## Class AbstractAccessLogValve.ConnectionStatusElement

- java.lang.Object
- - org.apache.catalina.valves.AbstractAccessLogValve.ConnectionStatusElement

- All Implemented Interfaces:
    `AbstractAccessLogValve.AccessLogElement`
  Enclosing class:
    AbstractAccessLogValve

      protected static class AbstractAccessLogValve.ConnectionStatusElement
      extends Object
      implements AbstractAccessLogValve.AccessLogElement

  Write connection status when response is completed - %X

- - ### Constructor Summary

    Constructors
    Modifier | Constructor | Description
    --- | --- | ---
    `protected` | `ConnectionStatusElement()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addElement​(CharArrayWriter buf, Date date, Request request, Response response, long time)` |

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### ConnectionStatusElement

          protected ConnectionStatusElement()

  - ### Method Detail

    - #### addElement

          public void addElement​(CharArrayWriter buf,
                                 Date date,
                                 Request request,
                                 Response response,
                                 long time)

      Specified by:
        `addElement` in interface `AbstractAccessLogValve.AccessLogElement`