Class RequestLogger


  • public class RequestLogger
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void logRequest​(java.net.http.HttpRequest request)  
      void logResponse​(java.net.http.HttpResponse<byte[]> response, java.lang.Throwable exception)  
      • Methods inherited from class java.lang.Object

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

      • RequestLogger

        public RequestLogger​(RequestLoggerConfiguration config,
                             java.util.function.BiConsumer<java.lang.String,​java.lang.Object[]> output)
    • Method Detail

      • logRequest

        public void logRequest​(java.net.http.HttpRequest request)
      • logResponse

        public void logResponse​(java.net.http.HttpResponse<byte[]> response,
                                java.lang.Throwable exception)