public interface MethodReturnValueHandler
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
handleMethodReturnValue(Object value,
MethodDescriptor methodDescriptor)
方法调用正常返回结果处理器
|
boolean |
supportsReturnType(MethodDescriptor returnType)
判断指定返回类型是否需要被此handler支持
|
Object handleMethodReturnValue(Object value, MethodDescriptor methodDescriptor)
value - 方法执行结果methodDescriptor - 方法描述boolean supportsReturnType(MethodDescriptor returnType)
returnType - the MethodDescriptor for this methodtrue if this handler supports the supplied return type;
false otherwiseCopyright © 2019. All rights reserved.