Class InvalidateTokenResponse
- java.lang.Object
-
- org.elasticsearch.client.security.InvalidateTokenResponse
-
public final class InvalidateTokenResponse extends java.lang.ObjectResponse when invalidating an OAuth2 token. Returns a single boolean field for whether the invalidation record was created or updated.
-
-
Constructor Summary
Constructors Constructor Description InvalidateTokenResponse(boolean created)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static InvalidateTokenResponsefromXContent(XContentParser parser)inthashCode()booleanisCreated()
-
-
-
Method Detail
-
isCreated
public boolean isCreated()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
fromXContent
public static InvalidateTokenResponse fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
-