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

me.chanjar.weixin.common.session.WxSessionManager Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
package me.chanjar.weixin.common.session;

public interface WxSessionManager {

  /**
   * 获取某个sessionId对应的session,如果sessionId没有对应的session,则新建一个并返回。
   * @param sessionId
   * @return
   */
  public WxSession getSession(String sessionId);

  /**
   * 获取某个sessionId对应的session,如果sessionId没有对应的session,若create为true则新建一个,否则返回null。
   * @param sessionId
   * @param create
   * @return
   */
  public WxSession getSession(String sessionId, boolean create);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy