public class MethodAdviceInfo extends Object
Constructor and Description |
---|
MethodAdviceInfo(Method method)
Instantiates a new Method advice info.
|
Modifier and Type | Method and Description |
---|---|
io.swagger.v3.oas.models.responses.ApiResponses |
getApiResponses()
Gets api responses.
|
Set<Class<?>> |
getExceptions()
Gets exceptions.
|
Method |
getMethod()
Gets method.
|
void |
setApiResponses(io.swagger.v3.oas.models.responses.ApiResponses apiResponses)
Sets api responses.
|
void |
setExceptions(Set<Class<?>> exceptions)
Sets exceptions.
|
public MethodAdviceInfo(Method method)
method
- the methodpublic Method getMethod()
public void setExceptions(Set<Class<?>> exceptions)
exceptions
- the exceptionspublic io.swagger.v3.oas.models.responses.ApiResponses getApiResponses()
public void setApiResponses(io.swagger.v3.oas.models.responses.ApiResponses apiResponses)
apiResponses
- the api responsesCopyright © 2024. All rights reserved.