public class StompReturnHandler extends java.lang.Object implements ActionReturnHandler
构造器和说明 |
---|
StompReturnHandler() |
限定符和类型 | 方法和说明 |
---|---|
static StompReturnHandler |
getInstance() |
boolean |
matched(Context ctx,
java.lang.Class<?> returnType)
是否匹配
|
void |
returnHandle(Context ctx,
Action action,
java.lang.Object returnValue)
返回处理
|
public static StompReturnHandler getInstance()
public boolean matched(Context ctx, java.lang.Class<?> returnType)
ActionReturnHandler
matched
在接口中 ActionReturnHandler
ctx
- 上下文returnType
- 返回类型public void returnHandle(Context ctx, Action action, java.lang.Object returnValue) throws java.lang.Throwable
ActionReturnHandler
returnHandle
在接口中 ActionReturnHandler
ctx
- 上下文action
- 动作returnValue
- 返回值java.lang.Throwable