All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.leancloud.IMHookHandlerInfo Maven / Gradle / Ivy

There is a newer version: 0.4.1
Show newest version
package cn.leancloud;

import com.alibaba.fastjson.JSON;

import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;

class IMHookHandlerInfo extends EngineHandlerInfo {

  public IMHookHandlerInfo(String endpoint, Method handlerMethod,
                           List params, Class returnType, String hookKey) {
    super(endpoint, handlerMethod, params, returnType, hookKey);
  }

  @Override
  public Object parseParams(String requestBody) {
    return JSON.parseObject(requestBody, Map.class);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy