org.apache.synapse.transport.http.access

## Class Access.ByteSentElement

- java.lang.Object
- - org.apache.synapse.transport.http.access.Access.ByteSentElement

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

      protected static class Access.ByteSentElement
      extends Object
      implements Access.AccessLogElement

  write bytes sent, excluding HTTP headers - %b, %B

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ByteSentElement(boolean conversion)` if conversion is true, write '-' instead of 0 - %b

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addElement(StringBuilder buf, Date date, org.apache.http.HttpRequest request, org.apache.http.HttpResponse response)`

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

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

- - ### Constructor Detail

    - #### ByteSentElement

          public ByteSentElement(boolean conversion)

      if conversion is true, write '-' instead of 0 - %b
      Parameters:
        `conversion` - - To be conversed.

  - ### Method Detail

    - #### addElement

          public void addElement(StringBuilder buf,
                                 Date date,
                                 org.apache.http.HttpRequest request,
                                 org.apache.http.HttpResponse response)

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

Copyright © 2005–2018 Apache Software Foundation. All rights reserved.