public abstract class AbstractMethodReturnParser extends AbstractRestDocParseConfigAware implements IMethodReturnParser
_config| 构造器和说明 |
|---|
AbstractMethodReturnParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isNew()
是否创建一个新的Response,而不是在之前的Response上再加工
|
ResponseModel |
parse(java.lang.reflect.Method method,
com.github.therapi.runtimejavadoc.Comment returns,
ResponseModel responseModel) |
protected ResponseModel |
parseInternal(java.lang.reflect.Method method,
java.lang.reflect.Type actualType,
ResponseModel responseModel) |
protected abstract int |
parseStatusCode(java.lang.reflect.Method method) |
setRestDocParseConfigpublic ResponseModel parse(java.lang.reflect.Method method, com.github.therapi.runtimejavadoc.Comment returns, ResponseModel responseModel)
parse 在接口中 IMethodReturnParserprotected ResponseModel parseInternal(java.lang.reflect.Method method, java.lang.reflect.Type actualType, ResponseModel responseModel)
protected abstract int parseStatusCode(java.lang.reflect.Method method)
public boolean isNew()
IMethodReturnParserisNew 在接口中 IMethodReturnParserCopyright © 2020. All Rights Reserved.