Class BaseAwsStructuredJsonFactory
java.lang.Object
software.amazon.awssdk.protocols.json.BaseAwsStructuredJsonFactory
- All Implemented Interfaces:
StructuredJsonFactory
@SdkProtectedApi
public abstract class BaseAwsStructuredJsonFactory
extends Object
implements StructuredJsonFactory
Generic implementation of a structured JSON factory that is pluggable for different variants of
JSON.
-
Method Summary
Modifier and TypeMethodDescriptioncreateWriter(String contentType) Returns theStructuredJsonGeneratorto be used for marshalling the request.getErrorCodeParser(String customErrorCodeFieldName) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.protocols.json.StructuredJsonFactory
getJsonFactory
-
Method Details
-
createWriter
Description copied from interface:StructuredJsonFactoryReturns theStructuredJsonGeneratorto be used for marshalling the request.- Specified by:
createWriterin interfaceStructuredJsonFactory- Parameters:
contentType- Content type to send for requests.
-
getErrorCodeParser
- Specified by:
getErrorCodeParserin interfaceStructuredJsonFactory
-