Class CloseIndexResponse

All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class CloseIndexResponse
extends ShardsAcknowledgedResponse
  • Constructor Details

    • CloseIndexResponse

      public CloseIndexResponse​(boolean acknowledged, boolean shardsAcknowledged, java.util.List<CloseIndexResponse.IndexResult> indices)
  • Method Details

    • getIndices

      public java.util.List<CloseIndexResponse.IndexResult> getIndices()
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class AcknowledgedResponse
      Throws:
      java.io.IOException
    • addCustomFields

      protected void addCustomFields​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Overrides:
      addCustomFields in class ShardsAcknowledgedResponse
      Throws:
      java.io.IOException
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object