Module org.elasticsearch.xcore
Class ProfileHasPrivilegesRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.LegacyActionRequest
org.elasticsearch.xpack.core.security.action.user.ProfileHasPrivilegesRequest
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ConstructingObjectParser<ProfileHasPrivilegesRequest, Void> Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionProfileHasPrivilegesRequest(List<String> uids, AuthorizationEngine.PrivilegesToCheck privilegesToCheck) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()toString()validate()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, getRequestId, setParentTask, setRequestIdMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
setParentTask
-
Field Details
-
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<ProfileHasPrivilegesRequest,Void> PARSER
-
-
Constructor Details
-
ProfileHasPrivilegesRequest
public ProfileHasPrivilegesRequest(List<String> uids, AuthorizationEngine.PrivilegesToCheck privilegesToCheck) -
ProfileHasPrivilegesRequest
- Throws:
IOException
-
-
Method Details
-
profileUids
-
privilegesToCheck
-
createTask
-
getDescription
-
validate
- Specified by:
validatein classActionRequest
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classActionRequest- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classTransportRequest
-