Class JsonProtocolUnmarshaller
- java.lang.Object
-
- software.amazon.awssdk.protocols.json.internal.unmarshall.JsonProtocolUnmarshaller
-
@ThreadSafe public final class JsonProtocolUnmarshaller extends Object
Unmarshaller implementation for both JSON RPC and REST JSON services. This class is thread-safe and it is recommended to reuse a single instance for best performance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonProtocolUnmarshaller.Builder
Builder forJsonProtocolUnmarshaller
.
-
Field Summary
Fields Modifier and Type Field Description StringToValueConverter.StringToValue<Instant>
instantStringToValue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonProtocolUnmarshaller.Builder
builder()
<TypeT extends SdkPojo>
TypeTunmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response)
<TypeT extends SdkPojo>
TypeTunmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response, JsonNode jsonContent)
-
-
-
Field Detail
-
instantStringToValue
public final StringToValueConverter.StringToValue<Instant> instantStringToValue
-
-
Method Detail
-
unmarshall
public <TypeT extends SdkPojo> TypeT unmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response) throws IOException
- Throws:
IOException
-
unmarshall
public <TypeT extends SdkPojo> TypeT unmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response, JsonNode jsonContent)
-
builder
public static JsonProtocolUnmarshaller.Builder builder()
- Returns:
- New instance of
JsonProtocolUnmarshaller.Builder
.
-
-