类 RequestMeta

java.lang.Object
com.alibaba.nacos.api.remote.request.RequestMeta

public class RequestMeta extends Object
RequestMeta info.
版本:
$Id: RequestMeta.java, v 0.1 2020年07月14日 10:32 AM liuzunfei Exp $
作者:
liuzunfei
  • 构造器详细资料

    • RequestMeta

      public RequestMeta()
  • 方法详细资料

    • getConnectionAbility

      public AbilityStatus getConnectionAbility(AbilityKey abilityKey)
    • setAbilityTable

      public void setAbilityTable(Map<String,Boolean> abilityTable)
      Setter method for property abilityTable.
      参数:
      abilityTable - property value of clientVersion
    • getClientVersion

      public String getClientVersion()
      Getter method for property clientVersion.
      返回:
      property value of clientVersion
    • setClientVersion

      public void setClientVersion(String clientVersion)
      Setter method for property clientVersion.
      参数:
      clientVersion - value to be assigned to property clientVersion
    • getLabels

      public Map<String,String> getLabels()
      Getter method for property labels.
      返回:
      property value of labels
    • setLabels

      public void setLabels(Map<String,String> labels)
      Setter method for property labels.
      参数:
      labels - value to be assigned to property labels
    • getAppLabels

      public Map<String,String> getAppLabels()
      get labels map with filter of starting with prefix #Constants.APP_CONN_PREFIX and return a new map trim the prefix #Constants.APP_CONN_PREFIX.
      返回:
      map of labels.
    • getConnectionId

      public String getConnectionId()
      Getter method for property connectionId.
      返回:
      property value of connectionId
    • setConnectionId

      public void setConnectionId(String connectionId)
      Setter method for property connectionId.
      参数:
      connectionId - value to be assigned to property connectionId
    • getClientIp

      public String getClientIp()
      Getter method for property clientIp.
      返回:
      property value of clientIp
    • setClientIp

      public void setClientIp(String clientIp)
      Setter method for property clientIp.
      参数:
      clientIp - value to be assigned to property clientIp
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object