Module org.elasticsearch.xcore
Class ProfileHasPrivilegesRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.AbstractTransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.UntypedActionRequest
org.elasticsearch.xpack.core.security.action.user.ProfileHasPrivilegesRequest
- All Implemented Interfaces:
Writeable,RefCounted,TaskAwareRequest,TransportRequest
-
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 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.AbstractTransportRequest
copyFieldsFrom, getParentTask, getRequestId, remoteAddress, remoteAddress, setParentTask, setRequestIdMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
decRef, hasReferences, incRef, mustIncRef, tryIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, setParentTask
-
Field Details
-
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 classAbstractTransportRequest
-