T - type of SentryInterface supported by the binder.public interface InterfaceBinding<T extends SentryInterface>
SentryInterface of a specific type into a JSON stream.| Modifier and Type | Method and Description |
|---|---|
void |
writeInterface(com.fasterxml.jackson.core.JsonGenerator generator,
T sentryInterface)
Encodes the content of a sentry interface into a JSON stream.
|
void writeInterface(com.fasterxml.jackson.core.JsonGenerator generator,
T sentryInterface)
throws IOException
generator - JSON generator allowing to write JSON content.sentryInterface - interface to encode.IOException - thrown in case of failure during the generation of JSON content.Copyright © 2012–2017. All rights reserved.