Package cn.leancloud
Class EngineHandlerInfo
java.lang.Object
cn.leancloud.EngineHandlerInfo
- Direct Known Subclasses:
EngineFunctionHandlerInfo,EngineHookHandlerInfo
-
Constructor Summary
ConstructorsConstructorDescriptionEngineHandlerInfo(String endpoint, Method handlerMethod, List<EngineFunctionParamInfo> params, Class<?> returnType) EngineHandlerInfo(String endpoint, Method handlerMethod, List<EngineFunctionParamInfo> params, Class<?> returnType, String hookClass) -
Method Summary
Modifier and TypeMethodDescriptionexecute(javax.servlet.http.HttpServletRequest request, boolean rpcCall) static EngineHandlerInfogetEngineHandlerInfo(Method method, EngineFunction function) static EngineHandlerInfogetEngineHandlerInfo(Method method, EngineHook hook) static EngineHandlerInfogetEngineHandlerInfo(Method method, IMHook hook) abstract ObjectparseParams(String requestBody) wrapperResponse(Object returnValue, String requestBody, boolean rpcCall)
-
Constructor Details
-
EngineHandlerInfo
public EngineHandlerInfo(String endpoint, Method handlerMethod, List<EngineFunctionParamInfo> params, Class<?> returnType) -
EngineHandlerInfo
-
-
Method Details
-
getHandlerMethod
-
getEndPoint
-
getParamList
-
execute
public Object execute(javax.servlet.http.HttpServletRequest request, boolean rpcCall) throws Exception - Throws:
Exception
-
parseParams
public abstract Object parseParams(String requestBody) throws cn.leancloud.InvalidParameterException -
wrapperResponse
-
getEngineHandlerInfo
-
getEngineHandlerInfo
-
getEngineHandlerInfo
-