Package org.zalando.logbook
Class DefaultHttpLogWriter
- java.lang.Object
-
- org.zalando.logbook.DefaultHttpLogWriter
-
- All Implemented Interfaces:
HttpLogWriter
@API(status=STABLE) public final class DefaultHttpLogWriter extends Object implements HttpLogWriter
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpLogWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisActive()voidwrite(Correlation correlation, String response)voidwrite(Precorrelation precorrelation, String request)
-
-
-
Method Detail
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceHttpLogWriter
-
write
public void write(Precorrelation precorrelation, String request)
- Specified by:
writein interfaceHttpLogWriter
-
write
public void write(Correlation correlation, String response)
- Specified by:
writein interfaceHttpLogWriter
-
-