Class Logging


  • public final class Logging
    extends java.lang.Object
    A utility class for logging HTTP headers.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String headersAsString​(java.net.http.HttpHeaders headers)
      Converts the given HttpHeaders to a string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • headersAsString

        public static java.lang.String headersAsString​(java.net.http.HttpHeaders headers)
        Converts the given HttpHeaders to a string representation.
        Parameters:
        headers - The HttpHeaders to convert.
        Returns:
        A string representation of the headers.