public class JsonMarshallerContext extends Object
JsonMarshaller.| Modifier and Type | Class | Description |
|---|---|---|
static class |
JsonMarshallerContext.Builder |
Builder for a
JsonMarshallerContext. |
| Modifier and Type | Method | Description |
|---|---|---|
static JsonMarshallerContext.Builder |
builder() |
|
StructuredJsonGenerator |
jsonGenerator() |
|
void |
marshall(MarshallLocation marshallLocation,
Object val) |
Convenience method to marshall a nested object (may be simple or structured) at the given location.
|
void |
marshall(MarshallLocation marshallLocation,
Object val,
String paramName) |
Convenience method to marshall a nested object (may be simple or structured) at the given location.
|
MarshallerRegistry |
marshallerRegistry() |
|
ProtocolMarshaller |
protocolHandler() |
|
Request<?> |
request() |
public StructuredJsonGenerator jsonGenerator()
public ProtocolMarshaller protocolHandler()
ProtocolMarshaller that can be used to call back out to marshall structured data (i.e.
dlists of objects).public MarshallerRegistry marshallerRegistry()
public Request<?> request()
Request object that can be used to add headers, query params, modify request URI, etc.public void marshall(MarshallLocation marshallLocation, Object val)
marshallLocation - Current MarshallLocationval - Value to marshall.public void marshall(MarshallLocation marshallLocation, Object val, String paramName)
marshallLocation - Current MarshallLocationval - Value to marshall.paramName - Name of parameter to marshall.public static JsonMarshallerContext.Builder builder()
JsonMarshallerContext.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.