类 GetPrivilegesResponse

java.lang.Object
org.easysearch.client.security.GetPrivilegesResponse

public final class GetPrivilegesResponse
extends java.lang.Object
Get privileges response
  • 构造器概要

    构造器
    构造器 说明
    GetPrivilegesResponse​(java.util.Set<Privilege> privileges)  
  • 方法概要

    修饰符和类型 方法 说明
    boolean equals​(java.lang.Object o)  
    static GetPrivilegesResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser)  
    java.util.Set<Privilege> getPrivileges()  
    int hashCode()  
    java.lang.String toJson()  

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • GetPrivilegesResponse

      public GetPrivilegesResponse​(java.util.Set<Privilege> privileges)
  • 方法详细资料

    • getPrivileges

      public java.util.Set<Privilege> getPrivileges()
    • fromXContent

      public static GetPrivilegesResponse fromXContent​(org.easysearch.common.xcontent.XContentParser parser) throws java.io.IOException
      抛出:
      java.io.IOException
    • toJson

      public java.lang.String toJson()
    • equals

      public boolean equals​(java.lang.Object o)
      覆盖:
      equals 在类中 java.lang.Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 java.lang.Object