Class NullAsEmptyBodyProtocolRequestMarshaller
- java.lang.Object
-
- software.amazon.awssdk.protocols.json.internal.marshall.NullAsEmptyBodyProtocolRequestMarshaller
-
- All Implemented Interfaces:
ProtocolMarshaller<SdkHttpFullRequest>
public class NullAsEmptyBodyProtocolRequestMarshaller extends Object implements ProtocolMarshaller<SdkHttpFullRequest>
AWS services expect an empty body when the payload member is null instead of an explicit JSON null.
-
-
Constructor Summary
Constructors Constructor Description NullAsEmptyBodyProtocolRequestMarshaller(ProtocolMarshaller<SdkHttpFullRequest> delegate)
-
-
-
Constructor Detail
-
NullAsEmptyBodyProtocolRequestMarshaller
public NullAsEmptyBodyProtocolRequestMarshaller(ProtocolMarshaller<SdkHttpFullRequest> delegate)
-
-
Method Detail
-
marshall
public SdkHttpFullRequest marshall(SdkPojo pojo)
- Specified by:
marshall
in interfaceProtocolMarshaller<SdkHttpFullRequest>
-
-