Package org.zalando.logbook.core
Class CurlHttpLogFormatter
java.lang.Object
org.zalando.logbook.core.CurlHttpLogFormatter
- All Implemented Interfaces:
HttpLogFormatter
@API(status=EXPERIMENTAL)
public final class CurlHttpLogFormatter
extends Object
implements HttpLogFormatter
Formats requests as cURL commands.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat(Correlation correlation, HttpResponse response) format(Precorrelation precorrelation, HttpRequest request)
-
Constructor Details
-
CurlHttpLogFormatter
public CurlHttpLogFormatter() -
CurlHttpLogFormatter
-
-
Method Details
-
format
- Specified by:
formatin interfaceHttpLogFormatter- Throws:
IOException
-
format
- Specified by:
formatin interfaceHttpLogFormatter- Throws:
IOException
-