public class EngineHookHandlerInfo extends EngineHandlerInfo
Constructor and Description |
---|
EngineHookHandlerInfo(String endpoint,
Method handlerMethod,
List<EngineFunctionParamInfo> params,
Class returnType,
String hookClass) |
Modifier and Type | Method and Description |
---|---|
Object |
parseParams(String requestBody) |
Object |
wrapperResponse(Object result,
String requestBody,
boolean rpcCall) |
execute, getEndPoint, getEngineHandlerInfo, getEngineHandlerInfo, getEngineHandlerInfo, getHandlerMethod, getParamList
public Object parseParams(String requestBody) throws cn.leancloud.InvalidParameterException
parseParams
in class EngineHandlerInfo
cn.leancloud.InvalidParameterException
public Object wrapperResponse(Object result, String requestBody, boolean rpcCall)
wrapperResponse
in class EngineHandlerInfo
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.