All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class GetUsersResponse extends ActionResponse implements org.elasticsearch.xcontent.ToXContentObject
Response containing a User retrieved from the security index
  • Constructor Details

  • Method Details

    • users

      public User[] users()
    • getProfileUidLookup

      public Map<String,String> getProfileUidLookup()
    • hasUsers

      public boolean hasUsers()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException