public class DelegatingAsyncClientClass extends AsyncClientInterface
clientPackageName, STREAMING_TYPE_VARIABLE| Constructor and Description |
|---|
DelegatingAsyncClientClass(IntermediateModel model) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAdditionalMethods(com.squareup.javapoet.TypeSpec.Builder type) |
protected void |
addAnnotations(com.squareup.javapoet.TypeSpec.Builder type) |
protected void |
addCloseMethod(com.squareup.javapoet.TypeSpec.Builder type) |
protected void |
addFields(com.squareup.javapoet.TypeSpec.Builder type) |
protected void |
addInterfaceClass(com.squareup.javapoet.TypeSpec.Builder type) |
protected void |
addModifiers(com.squareup.javapoet.TypeSpec.Builder type) |
com.squareup.javapoet.ClassName |
className() |
protected com.squareup.javapoet.TypeSpec.Builder |
createTypeSpec() |
protected com.squareup.javapoet.MethodSpec.Builder |
operationBody(com.squareup.javapoet.MethodSpec.Builder builder,
OperationModel opModel)
Add the implementation body.
|
protected List<com.squareup.javapoet.MethodSpec> |
operations() |
protected com.squareup.javapoet.MethodSpec |
serviceClientConfigMethod() |
protected com.squareup.javapoet.MethodSpec.Builder |
utilitiesOperationBody(com.squareup.javapoet.MethodSpec.Builder builder) |
protected com.squareup.javapoet.MethodSpec.Builder |
waiterOperationBody(com.squareup.javapoet.MethodSpec.Builder builder) |
addWaiterMethod, paginatedMethodBody, paginatedTraditionalMethod, poetSpec, traditionalMethod, utilitiesMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstaticImportspublic DelegatingAsyncClientClass(IntermediateModel model)
protected com.squareup.javapoet.TypeSpec.Builder createTypeSpec()
createTypeSpec in class AsyncClientInterfaceprotected void addInterfaceClass(com.squareup.javapoet.TypeSpec.Builder type)
addInterfaceClass in class AsyncClientInterfaceprotected void addAnnotations(com.squareup.javapoet.TypeSpec.Builder type)
addAnnotations in class AsyncClientInterfaceprotected void addModifiers(com.squareup.javapoet.TypeSpec.Builder type)
addModifiers in class AsyncClientInterfaceprotected void addFields(com.squareup.javapoet.TypeSpec.Builder type)
addFields in class AsyncClientInterfaceprotected void addAdditionalMethods(com.squareup.javapoet.TypeSpec.Builder type)
addAdditionalMethods in class AsyncClientInterfaceprotected com.squareup.javapoet.MethodSpec serviceClientConfigMethod()
serviceClientConfigMethod in class AsyncClientInterfaceprotected void addCloseMethod(com.squareup.javapoet.TypeSpec.Builder type)
addCloseMethod in class AsyncClientInterfaceprotected List<com.squareup.javapoet.MethodSpec> operations()
operations in class AsyncClientInterfacepublic com.squareup.javapoet.ClassName className()
className in interface ClassSpecclassName in class AsyncClientInterfaceprotected com.squareup.javapoet.MethodSpec.Builder operationBody(com.squareup.javapoet.MethodSpec.Builder builder,
OperationModel opModel)
AsyncClientInterfaceUnsupportedOperationException
except for simple method overloads which just delegate to the traditional request/response method. This is overridden
in AsyncClientClass to add an actual implementation.operationBody in class AsyncClientInterfacebuilder - Current MethodSpec.Builder to add implementation to.opModel - Operation to generate method body for.protected com.squareup.javapoet.MethodSpec.Builder utilitiesOperationBody(com.squareup.javapoet.MethodSpec.Builder builder)
utilitiesOperationBody in class AsyncClientInterfaceprotected com.squareup.javapoet.MethodSpec.Builder waiterOperationBody(com.squareup.javapoet.MethodSpec.Builder builder)
waiterOperationBody in class AsyncClientInterfaceCopyright © 2023. All rights reserved.