Package org.zalando.logbook.json
Interface JsonFieldWriter
-
public interface JsonFieldWriter
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static StringgetOrigin(HttpMessage message)<M extends HttpMessage>
voidwrite(M message, com.fasterxml.jackson.core.JsonGenerator generator)default voidwrite(Correlation correlation, HttpResponse response, com.fasterxml.jackson.core.JsonGenerator generator)default voidwrite(Precorrelation correlation, HttpRequest request, com.fasterxml.jackson.core.JsonGenerator generator)
-
-
-
Method Detail
-
write
<M extends HttpMessage> void write(M message, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
- Throws:
IOException
-
write
@API(status=EXPERIMENTAL) default void write(Precorrelation correlation, HttpRequest request, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
- Throws:
IOException
-
write
@API(status=EXPERIMENTAL) default void write(Correlation correlation, HttpResponse response, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
- Throws:
IOException
-
getOrigin
static String getOrigin(HttpMessage message)
-
-