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