
macros.syncclientclass.json.ResponseHandlerCreation.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-code-generator Show documentation
Show all versions of aws-java-sdk-code-generator Show documentation
The AWS SDK for Java - Code Generator module holds the classes and templates required to generate the AWS Java SDK clients for AWS services.
<#macro content operationModel metadata unmarshallerReference outputType>
HttpResponseHandler> responseHandler =
protocolFactory.createResponseHandler(new JsonOperationMetadata()
.withPayloadJson(${(!operationModel.hasBlobMemberAsPayload)?c})
<#if operationModel.outputShape??>
.withHasStreamingSuccessResponse(${operationModel.outputShape.hasStreamingMember?c})
<#else>
.withHasStreamingSuccessResponse(false)
#if>
, ${unmarshallerReference});
#macro>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy