Class AbstractMarshallingRegistry

java.lang.Object
software.amazon.awssdk.protocols.core.AbstractMarshallingRegistry

@SdkProtectedApi public abstract class AbstractMarshallingRegistry extends Object
Base class for marshaller/unmarshaller registry implementations.
  • Constructor Details

  • Method Details

    • 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)