@API(status=STABLE) public final class FastJsonHttpLogFormatter extends Object implements HttpLogFormatter
HttpLogFormatter that produces JSON objects.| Constructor and Description |
|---|
FastJsonHttpLogFormatter() |
FastJsonHttpLogFormatter(com.fasterxml.jackson.databind.ObjectMapper mapper) |
FastJsonHttpLogFormatter(com.fasterxml.jackson.databind.ObjectMapper mapper,
JsonFieldWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(Correlation correlation,
HttpResponse response) |
String |
format(Precorrelation precorrelation,
HttpRequest request) |
public FastJsonHttpLogFormatter()
public FastJsonHttpLogFormatter(com.fasterxml.jackson.databind.ObjectMapper mapper)
public FastJsonHttpLogFormatter(com.fasterxml.jackson.databind.ObjectMapper mapper,
JsonFieldWriter writer)
public String format(Precorrelation precorrelation, HttpRequest request) throws IOException
format in interface HttpLogFormatterIOExceptionpublic String format(Correlation correlation, HttpResponse response) throws IOException
format in interface HttpLogFormatterIOExceptionCopyright © 2015–2021 Zalando SE. All rights reserved.