public abstract class EngineHandlerInfo extends Object
| Constructor and Description |
|---|
EngineHandlerInfo(String endpoint,
Method handlerMethod,
List<EngineFunctionParamInfo> params,
Class<?> returnType,
String hookKey) |
EngineHandlerInfo(String endpoint,
Method handlerMethod,
List<EngineFunctionParamInfo> params,
Class<?> returnType,
String hookKey,
String hookClass) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(javax.servlet.http.HttpServletRequest request,
boolean rpcCall) |
String |
getEndPoint() |
static EngineHandlerInfo |
getEngineHandlerInfo(Method method,
EngineFunction function) |
static EngineHandlerInfo |
getEngineHandlerInfo(Method method,
EngineHook hook,
String hookKey) |
static EngineHandlerInfo |
getEngineHandlerInfo(Method method,
IMHook hook,
String hookKey) |
abstract Object |
parseParams(String requestBody) |
Object |
wrapperResponse(Object returnValue,
String requestBody,
boolean rpcCall) |
public EngineHandlerInfo(String endpoint, Method handlerMethod, List<EngineFunctionParamInfo> params, Class<?> returnType, String hookKey)
public String getEndPoint()
public Object execute(javax.servlet.http.HttpServletRequest request, boolean rpcCall) throws Exception
Exceptionpublic Object wrapperResponse(Object returnValue, String requestBody, boolean rpcCall)
public static EngineHandlerInfo getEngineHandlerInfo(Method method, EngineFunction function)
public static EngineHandlerInfo getEngineHandlerInfo(Method method, EngineHook hook, String hookKey)
public static EngineHandlerInfo getEngineHandlerInfo(Method method, IMHook hook, String hookKey)
Copyright © 2018. All rights reserved.