Class DefaultJsonUnmarshallerRegistry
java.lang.Object
software.amazon.awssdk.protocols.core.AbstractMarshallingRegistry
software.amazon.awssdk.protocols.json.internal.unmarshall.DefaultJsonUnmarshallerRegistry
- All Implemented Interfaces:
JsonUnmarshallerRegistry
public final class DefaultJsonUnmarshallerRegistry
extends AbstractMarshallingRegistry
implements JsonUnmarshallerRegistry
Registry of
JsonUnmarshaller
implementations by location and type.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builder for aDefaultJsonUnmarshallerRegistry
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
<T> JsonUnmarshaller
<Object> getUnmarshaller
(MarshallLocation marshallLocation, MarshallingType<T> marshallingType) Returns the unmarshaller for the given location and type.Returns a builder to modify this registry.
-
Method Details
-
getUnmarshaller
public <T> JsonUnmarshaller<Object> getUnmarshaller(MarshallLocation marshallLocation, MarshallingType<T> marshallingType) Description copied from interface:JsonUnmarshallerRegistry
Returns the unmarshaller for the given location and type. Throws an exception if no unmarshaller is found.- Specified by:
getUnmarshaller
in interfaceJsonUnmarshallerRegistry
-
toBuilder
Returns a builder to modify this registry. -
builder
- Returns:
- Builder instance to construct a
DefaultJsonUnmarshallerRegistry
.
-