Class SecurityNodesResponse

Direct Known Subclasses:
ClearPrivilegesCacheResponse, ClearRealmCacheResponse, ClearRolesCacheResponse, ClearSecurityCacheResponse

public abstract class SecurityNodesResponse
extends NodesResponse
Base class for security responses that are node responses. Security uses a common pattern in the response so this class is present to avoid duplication.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  SecurityNodesResponse.Node  
  • Method Summary

    Modifier and Type Method Description
    static <T extends NodesResponse>
    declareCommonNodesResponseParsing​(org.elasticsearch.common.xcontent.ConstructingObjectParser<T,​java.lang.Void> parser)  
    java.util.List<SecurityNodesResponse.Node> getNodes()
    returns a list of nodes in which the cache was cleared

    Methods inherited from class org.elasticsearch.client.NodesResponse

    getClusterName, getHeader

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getNodes

      public java.util.List<SecurityNodesResponse.Node> getNodes()
      returns a list of nodes in which the cache was cleared
    • declareCommonNodesResponseParsing

      public static <T extends NodesResponse> void declareCommonNodesResponseParsing​(org.elasticsearch.common.xcontent.ConstructingObjectParser<T,​java.lang.Void> parser)