Class AcknowledgedResponse

    • Field Detail

      • acknowledged

        protected boolean acknowledged
    • Constructor Detail

      • AcknowledgedResponse

        public AcknowledgedResponse​(StreamInput in)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • AcknowledgedResponse

        public AcknowledgedResponse​(StreamInput in,
                                    boolean readAcknowledged)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • AcknowledgedResponse

        public AcknowledgedResponse​(boolean acknowledged)
    • Method Detail

      • isAcknowledged

        public final boolean isAcknowledged()
        Returns whether the response is acknowledged or not
        Returns:
        true if the response is acknowledged, false otherwise
      • addCustomFields

        protected void addCustomFields​(XContentBuilder builder,
                                       ToXContent.Params params)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object