Class DefaultJsonUnmarshallerRegistry
java.lang.Object
software.amazon.awssdk.protocols.core.AbstractMarshallingRegistry
software.amazon.awssdk.protocols.json.internal.unmarshall.DefaultJsonUnmarshallerRegistry
- All Implemented Interfaces:
JsonUnmarshallerRegistry
@SdkInternalApi
public final class DefaultJsonUnmarshallerRegistry
extends AbstractMarshallingRegistry
implements JsonUnmarshallerRegistry
Registry of
JsonUnmarshaller implementations by location and type.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder 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:JsonUnmarshallerRegistryReturns the unmarshaller for the given location and type. Throws an exception if no unmarshaller is found.- Specified by:
getUnmarshallerin interfaceJsonUnmarshallerRegistry
-
toBuilder
Returns a builder to modify this registry. -
builder
- Returns:
- Builder instance to construct a
DefaultJsonUnmarshallerRegistry.
-