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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.avaje.http.client.RequestListener
RequestListener.Event
-
Constructor Summary
Constructors Constructor Description RequestLogger()
RequestLogger(String delimiter)
-
Method Summary
Modifier and Type Method Description void
response(RequestListener.Event event)
Handle the response.
-
Constructor Details
-
RequestLogger
public RequestLogger() -
RequestLogger
-
-
Method Details
-
response
Description copied from interface:RequestListener
Handle the response.- Specified by:
response
in interfaceRequestListener
-