
templates.common.AsyncClientAbstractClass.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.
${fileHeader}
package ${metadata.packageName};
import ${metadata.packageName}.model.*;
/**
* Abstract implementation of {@code ${metadata.asyncInterface}}. Convenient
* method forms pass through to the corresponding overload that takes a
* request object and an {@code AsyncHandler}, which throws an
* {@code UnsupportedOperationException}.
*/
public class ${metadata.asyncAbstractClass} extends ${metadata.syncAbstractClass}
implements ${metadata.asyncInterface} {
protected ${metadata.asyncAbstractClass}() {
}
<#list operations?values as operationModel>
<@AsyncClientMethodForUnsupportedOperation.content operationModel />
<@AsyncClientMethodForOperationWithSimpleForm.content operationModel />
#list>
<#if AdditionalClientMethodsMacro?has_content>
<@AdditionalClientMethodsMacro.content .data_model />
#if>
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy