Class RevokeAuthTokenResponse

  • All Implemented Interfaces:
    org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.common.xcontent.StatusToXContentObject, org.elasticsearch.core.RefCounted, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

    public class RevokeAuthTokenResponse
    extends org.elasticsearch.action.ActionResponse
    implements org.elasticsearch.common.xcontent.StatusToXContentObject
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse

        org.elasticsearch.action.ActionResponse.Empty
      • Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

        org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
      • Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

        org.elasticsearch.common.io.stream.Writeable.Reader<V extends Object>, org.elasticsearch.common.io.stream.Writeable.Writer<V extends Object>
    • Field Summary

      • Fields inherited from interface org.elasticsearch.xcontent.ToXContent

        EMPTY_PARAMS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.elasticsearch.rest.RestStatus status()  
      org.elasticsearch.xcontent.XContentBuilder toXContent​(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)  
      void writeTo​(org.elasticsearch.common.io.stream.StreamOutput out)  
      • Methods inherited from class org.elasticsearch.transport.TransportMessage

        decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
      • Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject

        isFragment
    • Constructor Detail

      • RevokeAuthTokenResponse

        public RevokeAuthTokenResponse​(String status)
      • RevokeAuthTokenResponse

        public RevokeAuthTokenResponse​(org.elasticsearch.rest.RestStatus restStatus,
                                       String error)
      • RevokeAuthTokenResponse

        public RevokeAuthTokenResponse​(org.elasticsearch.common.io.stream.StreamInput in)
                                throws IOException
        Throws:
        IOException
    • Method Detail

      • writeTo

        public void writeTo​(org.elasticsearch.common.io.stream.StreamOutput out)
                     throws IOException
        Specified by:
        writeTo in interface org.elasticsearch.common.io.stream.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
      • status

        public org.elasticsearch.rest.RestStatus status()
        Specified by:
        status in interface org.elasticsearch.common.xcontent.StatusToXContentObject