Class RequestLogger

java.lang.Object
io.avaje.http.client.RequestLogger
All Implemented Interfaces:
RequestListener

public class RequestLogger
extends Object
implements RequestListener
Logs request and response details for debug logging purposes.

This implementation logs the request and response with the same single logging entry rather than separate logging of the request and response.

  • Constructor Details

    • RequestLogger

      public RequestLogger()
      Create using the \n new line character.
    • RequestLogger

      public RequestLogger​(String delimiter)
      Create with a given line delimiter.
  • Method Details