Class RevokeAuthTokenRequest
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportRequest
-
- org.elasticsearch.action.ActionRequest
-
- com.floragunn.searchguard.authtoken.api.RevokeAuthTokenRequest
-
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.core.RefCounted,org.elasticsearch.tasks.TaskAwareRequest
public class RevokeAuthTokenRequest extends org.elasticsearch.action.ActionRequest
-
-
Constructor Summary
Constructors Constructor Description RevokeAuthTokenRequest()RevokeAuthTokenRequest(String authTokenId)RevokeAuthTokenRequest(org.elasticsearch.common.io.stream.StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthTokenId()org.elasticsearch.action.ActionRequestValidationExceptionvalidate()voidwriteTo(org.elasticsearch.common.io.stream.StreamOutput out)-
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask, toString
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
-
-
-
-
Constructor Detail
-
RevokeAuthTokenRequest
public RevokeAuthTokenRequest()
-
RevokeAuthTokenRequest
public RevokeAuthTokenRequest(String authTokenId)
-
RevokeAuthTokenRequest
public RevokeAuthTokenRequest(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:
writeToin interfaceorg.elasticsearch.common.io.stream.Writeable- Overrides:
writeToin classorg.elasticsearch.action.ActionRequest- Throws:
IOException
-
validate
public org.elasticsearch.action.ActionRequestValidationException validate()
- Specified by:
validatein classorg.elasticsearch.action.ActionRequest
-
getAuthTokenId
public String getAuthTokenId()
-
-