Package io.avaje.http.generator.core
Class MethodReader
- java.lang.Object
-
- io.avaje.http.generator.core.MethodReader
-
public class MethodReader extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildApiDoc()voidbuildApiDocumentation(ProcessingContext ctx)Build the OpenAPI documentation for the method / operation.<A extends Annotation>
AfindAnnotation(Class<A> type)StringgetBodyName()StringgetBodyType()StringgetFullPath()JavadocgetJavadoc()List<MethodParam>getParams()PathSegmentsgetPathSegments()StringgetProduces()TypeMirrorgetReturnType()StringgetStatusCode()List<String>getTags()WebMethodgetWebMethod()booleanincludeValidate()booleanisFormBody()booleanisVoid()booleanisWebMethod()List<String>roles()StringsimpleName()
-
-
-
Method Detail
-
getJavadoc
public Javadoc getJavadoc()
-
findAnnotation
public <A extends Annotation> A findAnnotation(Class<A> type)
-
buildApiDoc
public void buildApiDoc()
-
buildApiDocumentation
public void buildApiDocumentation(ProcessingContext ctx)
Build the OpenAPI documentation for the method / operation.
-
isWebMethod
public boolean isWebMethod()
-
getWebMethod
public WebMethod getWebMethod()
-
getParams
public List<MethodParam> getParams()
-
isVoid
public boolean isVoid()
-
getProduces
public String getProduces()
-
getReturnType
public TypeMirror getReturnType()
-
getStatusCode
public String getStatusCode()
-
getPathSegments
public PathSegments getPathSegments()
-
getFullPath
public String getFullPath()
-
includeValidate
public boolean includeValidate()
-
simpleName
public String simpleName()
-
isFormBody
public boolean isFormBody()
-
getBodyType
public String getBodyType()
-
getBodyName
public String getBodyName()
-
-