Module org.zalando.logbook.json
Package org.zalando.logbook.json
Class FastJsonHttpLogFormatterJackson2
java.lang.Object
org.zalando.logbook.json.FastJsonHttpLogFormatterJackson2
- All Implemented Interfaces:
org.zalando.logbook.HttpLogFormatter
@API(status=STABLE)
@Deprecated(since="4.0.0",
forRemoval=true)
public final class FastJsonHttpLogFormatterJackson2
extends Object
implements org.zalando.logbook.HttpLogFormatter
Deprecated, for removal: This API element is subject to removal in a future version.
A custom
HttpLogFormatter that produces JSON objects.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.FastJsonHttpLogFormatterJackson2(com.fasterxml.jackson.databind.ObjectMapper mapper) Deprecated, for removal: This API element is subject to removal in a future version.FastJsonHttpLogFormatterJackson2(com.fasterxml.jackson.databind.ObjectMapper mapper, JsonFieldWriterJackson2 writer) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionformat(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpResponse response) Deprecated, for removal: This API element is subject to removal in a future version.format(org.zalando.logbook.Precorrelation precorrelation, org.zalando.logbook.HttpRequest request) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
FastJsonHttpLogFormatterJackson2
public FastJsonHttpLogFormatterJackson2()Deprecated, for removal: This API element is subject to removal in a future version. -
FastJsonHttpLogFormatterJackson2
public FastJsonHttpLogFormatterJackson2(com.fasterxml.jackson.databind.ObjectMapper mapper) Deprecated, for removal: This API element is subject to removal in a future version. -
FastJsonHttpLogFormatterJackson2
public FastJsonHttpLogFormatterJackson2(com.fasterxml.jackson.databind.ObjectMapper mapper, JsonFieldWriterJackson2 writer) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
format
public String format(org.zalando.logbook.Precorrelation precorrelation, org.zalando.logbook.HttpRequest request) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
formatin interfaceorg.zalando.logbook.HttpLogFormatter- Throws:
IOException
-
format
public String format(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpResponse response) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
formatin interfaceorg.zalando.logbook.HttpLogFormatter- Throws:
IOException
-