Interface CombinedHttpHeaders.CombinedHttpHeadersImpl.CsvValueEscaper<T>

  • Type Parameters:
    T - The type that a concrete implementation handles
    Enclosing class:
    CombinedHttpHeaders.CombinedHttpHeadersImpl

    private static interface CombinedHttpHeaders.CombinedHttpHeadersImpl.CsvValueEscaper<T>
    Escapes comma separated values (CSV).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.CharSequence escape​(java.lang.CharSequence name, T value)
      Appends the value to the specified StringBuilder, escaping if necessary.
    • Method Detail

      • escape

        java.lang.CharSequence escape​(java.lang.CharSequence name,
                                      T value)
        Appends the value to the specified StringBuilder, escaping if necessary.
        Parameters:
        name - the name of the header for the value being escaped
        value - the value to be appended, escaped if necessary