public class ReturnValueHandlerDefault extends Object implements ReturnValueHandler
| Modifier and Type | Field and Description |
|---|---|
static ReturnValueHandler |
INSTANCE |
| Constructor and Description |
|---|
ReturnValueHandlerDefault() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matched(Context ctx,
Class<?> returnType)
是否匹配
|
void |
returnHandle(Context c,
Object obj)
返回处理
|
public static final ReturnValueHandler INSTANCE
public boolean matched(Context ctx, Class<?> returnType)
ReturnValueHandlermatched in interface ReturnValueHandlerctx - 上下文returnType - 返回类型public void returnHandle(Context c, Object obj) throws Throwable
ReturnValueHandlerreturnHandle in interface ReturnValueHandlerc - 上下文obj - 返回值ThrowableCopyright © 2025. All rights reserved.