public final class JsonMarshallerContext extends Object
JsonMarshaller.| Modifier and Type | Class and Description |
|---|---|
static class |
JsonMarshallerContext.Builder
Builder for a
JsonMarshallerContext. |
| Modifier and Type | Method and 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.
|
<T> void |
marshall(MarshallLocation marshallLocation,
T val,
String paramName)
Convenience method to marshall a nested object (may be simple or structured) at the given location.
|
JsonMarshallerRegistry |
marshallerRegistry() |
JsonProtocolMarshaller |
protocolHandler() |
SdkHttpFullRequest.Builder |
request() |
public StructuredJsonGenerator jsonGenerator()
public JsonProtocolMarshaller protocolHandler()
ProtocolMarshaller that can be used to call back out to marshall structured data (i.e.
dlists of objects).public JsonMarshallerRegistry marshallerRegistry()
public SdkHttpFullRequest.Builder request()
SdkHttpFullRequest.Builder 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 <T> void marshall(MarshallLocation marshallLocation, T val, String paramName)
marshallLocation - Current MarshallLocationval - Value to marshall.paramName - Name of parameter to marshall.public static JsonMarshallerContext.Builder builder()
JsonMarshallerContext.Copyright © 2023. All rights reserved.