cn.leancloud.EngineRequestContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloud-function-sdk Show documentation
Show all versions of cloud-function-sdk Show documentation
leancloud leanengine cloud function library
package cn.leancloud;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* 在云代码函数中获取请求相关的额外属性
*
* @author lbt05
*/
public class EngineRequestContext {
private static final String UPDATED_KEYS = "_updatedKeys";
private static final String REMOTE_ADDRESS = "_remoteAddress";
private static final String SESSION_TOKEN = "_sessionToken";
private static final String BEFORE_KEYS = "__before";
private static final String AFTER_KEYS = "__after";
private static ThreadLocal