Class FastCompactingJsonBodyFilter

java.lang.Object
org.zalando.logbook.json.FastCompactingJsonBodyFilter
All Implemented Interfaces:
BodyFilter

@API(status=EXPERIMENTAL)
public final class FastCompactingJsonBodyFilter
extends java.lang.Object
implements BodyFilter
Fast alternative to CompactingJsonBodyFilter which just replaces all new lines, rather than parsing and rewriting the JSON body.
See Also:
CompactingJsonBodyFilter
  • Constructor Summary

    Constructors 
    Constructor Description
    FastCompactingJsonBodyFilter()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String filter​(java.lang.String contentType, java.lang.String body)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.zalando.logbook.BodyFilter

    tryMerge