Package org.springdoc.core
Class MethodAttributes
- java.lang.Object
-
- org.springdoc.core.MethodAttributes
-
public class MethodAttributes extends Object
-
-
Constructor Summary
Constructors Constructor Description MethodAttributes()
MethodAttributes(String[] methodProducesNew)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculateConsumesProduces(Method method)
String[]
getAllConsumes()
String[]
getAllProduces()
String[]
getClassConsumes()
String[]
getClassProduces()
com.fasterxml.jackson.annotation.JsonView
getJsonViewAnnotation()
com.fasterxml.jackson.annotation.JsonView
getJsonViewAnnotationForRequestBody()
String[]
getMethodConsumes()
String[]
getMethodProduces()
boolean
isMethodOverloaded()
boolean
isNoApiResponseDoc()
void
setClassConsumes(String[] classConsumes)
void
setClassProduces(String[] classProduces)
void
setJsonViewAnnotation(com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation)
void
setJsonViewAnnotationForRequestBody(com.fasterxml.jackson.annotation.JsonView jsonViewAnnotationForRequestBody)
void
setMethodOverloaded(boolean overloaded)
void
setWithApiResponseDoc(boolean withApiDoc)
-
-
-
Constructor Detail
-
MethodAttributes
public MethodAttributes(String[] methodProducesNew)
-
MethodAttributes
public MethodAttributes()
-
-
Method Detail
-
getClassProduces
public String[] getClassProduces()
-
setClassProduces
public void setClassProduces(String[] classProduces)
-
getClassConsumes
public String[] getClassConsumes()
-
setClassConsumes
public void setClassConsumes(String[] classConsumes)
-
getMethodProduces
public String[] getMethodProduces()
-
getMethodConsumes
public String[] getMethodConsumes()
-
calculateConsumesProduces
public void calculateConsumesProduces(Method method)
-
getAllConsumes
public String[] getAllConsumes()
-
getAllProduces
public String[] getAllProduces()
-
isMethodOverloaded
public boolean isMethodOverloaded()
-
setMethodOverloaded
public void setMethodOverloaded(boolean overloaded)
-
setWithApiResponseDoc
public void setWithApiResponseDoc(boolean withApiDoc)
-
isNoApiResponseDoc
public boolean isNoApiResponseDoc()
-
getJsonViewAnnotation
public com.fasterxml.jackson.annotation.JsonView getJsonViewAnnotation()
-
setJsonViewAnnotation
public void setJsonViewAnnotation(com.fasterxml.jackson.annotation.JsonView jsonViewAnnotation)
-
getJsonViewAnnotationForRequestBody
public com.fasterxml.jackson.annotation.JsonView getJsonViewAnnotationForRequestBody()
-
setJsonViewAnnotationForRequestBody
public void setJsonViewAnnotationForRequestBody(com.fasterxml.jackson.annotation.JsonView jsonViewAnnotationForRequestBody)
-
-