AbstractAccessLogValve.ResponseHeaderElement (Apache Tomcat 8.5.57 API Documentation)

org.apache.catalina.valves

## Class AbstractAccessLogValve.ResponseHeaderElement

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

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

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

  write a specific response header - %{xxx}o

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractAccessLogValve.ResponseHeaderElement(String header)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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

    - #### AbstractAccessLogValve.ResponseHeaderElement

          public AbstractAccessLogValve.ResponseHeaderElement(String header)

  - ### Method Detail

    - #### addElement

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

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

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.