Package org.zalando.logbook.ecs
Class EcsStructuredHttpLogFormatter
java.lang.Object
org.zalando.logbook.ecs.EcsStructuredHttpLogFormatter
- All Implemented Interfaces:
org.zalando.logbook.HttpLogFormatter,org.zalando.logbook.StructuredHttpLogFormatter
public class EcsStructuredHttpLogFormatter
extends Object
implements org.zalando.logbook.StructuredHttpLogFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringnormalizeHeaderName(String headerName) normalizeHeaderValues(List<String> values) prepare(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpResponse httpResponse) prepare(org.zalando.logbook.Precorrelation precorrelation, org.zalando.logbook.HttpRequest httpRequest) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zalando.logbook.StructuredHttpLogFormatter
format, format, prepareBody, prepareHeaders, preparePort
-
Constructor Details
-
EcsStructuredHttpLogFormatter
public EcsStructuredHttpLogFormatter()
-
-
Method Details
-
prepare
public Map<String,Object> prepare(org.zalando.logbook.Precorrelation precorrelation, org.zalando.logbook.HttpRequest httpRequest) throws IOException - Specified by:
preparein interfaceorg.zalando.logbook.StructuredHttpLogFormatter- Throws:
IOException
-
prepare
public Map<String,Object> prepare(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpResponse httpResponse) throws IOException - Specified by:
preparein interfaceorg.zalando.logbook.StructuredHttpLogFormatter- Throws:
IOException
-
normalizeHeaderName
-
normalizeHeaderValues
-
format
- Specified by:
formatin interfaceorg.zalando.logbook.StructuredHttpLogFormatter
-