Class AbstractMarshallingRegistry
- java.lang.Object
-
- software.amazon.awssdk.protocols.core.AbstractMarshallingRegistry
-
public abstract class AbstractMarshallingRegistry extends Object
Base class for marshaller/unmarshaller registry implementations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractMarshallingRegistry.Builder
Builder for aAbstractMarshallingRegistry
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractMarshallingRegistry(AbstractMarshallingRegistry.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
get(MarshallLocation marshallLocation, MarshallingType<?> marshallingType)
Get a registered marshaller/unmarshaller by location and type.protected <T> MarshallingType<T>
toMarshallingType(T val)
-
-
-
Constructor Detail
-
AbstractMarshallingRegistry
protected AbstractMarshallingRegistry(AbstractMarshallingRegistry.Builder builder)
-
-
Method Detail
-
get
protected Object get(MarshallLocation marshallLocation, MarshallingType<?> marshallingType)
Get a registered marshaller/unmarshaller by location and type.- Parameters:
marshallLocation
- Location of registered (un)marshaller.marshallingType
- Type of registered (un)marshaller.- Returns:
- Registered marshaller/unmarshaller.
- Throws:
SdkClientException
- if no marshaller/unmarshaller is registered for the given location and type.
-
toMarshallingType
protected <T> MarshallingType<T> toMarshallingType(T val)
-
-