Package org.zalando.logbook.json
Class FastCompactingJsonBodyFilter
- java.lang.Object
-
- org.zalando.logbook.json.FastCompactingJsonBodyFilter
-
- All Implemented Interfaces:
BodyFilter
@API(status=EXPERIMENTAL) public final class FastCompactingJsonBodyFilter extends Object implements BodyFilter
Fast alternative toCompactingJsonBodyFilterwhich just replaces all new lines, rather than parsing and rewriting the JSON body.- See Also:
CompactingJsonBodyFilter
-
-
Constructor Summary
Constructors Constructor Description FastCompactingJsonBodyFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringfilter(String contentType, 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
-
-
-
-
Method Detail
-
filter
public String filter(@Nullable String contentType, String body)
- Specified by:
filterin interfaceBodyFilter
-
-