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

cn.leancloud.IMHookHandlerInfo Maven / Gradle / Ivy

package cn.leancloud;

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

import cn.leancloud.json.JSON;

class IMHookHandlerInfo extends EngineHandlerInfo {

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy