public class HttpInterfaceBinding extends Object implements InterfaceBinding<HttpInterface>
HttpInterface into a JSON stream.| Constructor and Description |
|---|
HttpInterfaceBinding() |
| Modifier and Type | Method and Description |
|---|---|
void |
writeInterface(com.fasterxml.jackson.core.JsonGenerator generator,
HttpInterface httpInterface)
Encodes the content of a sentry interface into a JSON stream.
|
public void writeInterface(com.fasterxml.jackson.core.JsonGenerator generator,
HttpInterface httpInterface)
throws IOException
InterfaceBindingwriteInterface in interface InterfaceBinding<HttpInterface>generator - JSON generator allowing to write JSON content.httpInterface - interface to encode.IOException - thrown in case of failure during the generation of JSON content.Copyright © 2012–2014. All rights reserved.