Class RestCallMethodBuilder
-
- All Implemented Interfaces:
-
pl.metaprogramming.codegen.java.base.IMethodCmBuilder
public abstract class RestCallMethodBuilder extends BaseMethodCmBuilder<Operation>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRestCallMethodBuilder.Companion
-
Field Summary
Fields Modifier and Type Field Description private ClassCmrequestClassprivate ClassCdresponseTypeprivate ClassNameFormatterclassNameFormatterprivate final CodeBuffercodeBufprivate final JavaNameMappernameMapperprivate final Dependenciesdependenciesprivate final CodegenParamsparamsprivate BuildContext<?>contextprivate ClassCmclassCmprivate final MethodCmmethodCmprivate final Operationmodelpublic final static RestCallMethodBuilder.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description RestCallMethodBuilder(Operation operation)
-
Method Summary
Modifier and Type Method Description final ClassCmgetRequestClass()final UnitsetRequestClass(ClassCm requestClass)final ClassCdgetResponseType()final UnitsetResponseType(ClassCd responseType)MethodCmmakeDeclaration()final StringtoGetExp(FieldCm $self)final StringtoStringExp(FieldCm $self)-
Methods inherited from class pl.metaprogramming.codegen.java.base.BaseMethodCmBuilder
addVarDeclaration, addVarDeclaration, callComponent, classLocator, componentRef, componentRef, getClass, getClass, getClassNameFormatter, getCodeBuf, getDependencies, getNameMapper, getParams, getter, injectDependency, injectDependency, makeImplBody, makeImplementation, mapping, mapping, ofNullable, setClassNameFormatter -
Methods inherited from class pl.metaprogramming.codegen.java.base.MethodCmBuilder
getClassCm, getContext, getMethodCm, getModel, make, makeDeclaration, newMethodCm, newMethodCm, setClassCm, setContext -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RestCallMethodBuilder
RestCallMethodBuilder(Operation operation)
-
-
Method Detail
-
getRequestClass
final ClassCm getRequestClass()
-
setRequestClass
final Unit setRequestClass(ClassCm requestClass)
-
getResponseType
final ClassCd getResponseType()
-
setResponseType
final Unit setResponseType(ClassCd responseType)
-
makeDeclaration
MethodCm makeDeclaration()
-
toStringExp
final String toStringExp(FieldCm $self)
-
-
-
-