public class HttpInterfaceBinding extends Object implements InterfaceBinding<HttpInterface>
HttpInterface into a JSON stream.| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_BODY_LENGTH
Maximum length for the HTTP request body.
|
| 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 static final int MAX_BODY_LENGTH
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–2017. All rights reserved.