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

    Constructors
    Constructor
    Description
    Deprecated, 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 Type
    Method
    Description
    format(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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      format in interface org.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:
      format in interface org.zalando.logbook.HttpLogFormatter
      Throws:
      IOException