Module org.zalando.logbook.core
Package org.zalando.logbook.core
Class BodyOnlyIfStatusAtLeastStrategy
java.lang.Object
org.zalando.logbook.core.BodyOnlyIfStatusAtLeastStrategy
- All Implemented Interfaces:
org.zalando.logbook.Strategy
@API(status=EXPERIMENTAL)
public final class BodyOnlyIfStatusAtLeastStrategy
extends Object
implements org.zalando.logbook.Strategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpRequest request, org.zalando.logbook.HttpResponse response, org.zalando.logbook.Sink sink) voidwrite(org.zalando.logbook.Precorrelation precorrelation, org.zalando.logbook.HttpRequest request, org.zalando.logbook.Sink sink) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zalando.logbook.Strategy
process, process
-
Constructor Details
-
BodyOnlyIfStatusAtLeastStrategy
public BodyOnlyIfStatusAtLeastStrategy()
-
-
Method Details
-
write
public void write(org.zalando.logbook.Precorrelation precorrelation, org.zalando.logbook.HttpRequest request, org.zalando.logbook.Sink sink) - Specified by:
writein interfaceorg.zalando.logbook.Strategy
-
write
public void write(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpRequest request, org.zalando.logbook.HttpResponse response, org.zalando.logbook.Sink sink) throws IOException - Specified by:
writein interfaceorg.zalando.logbook.Strategy- Throws:
IOException
-