Class RequestValidators<T extends ActionRequest>

java.lang.Object
org.elasticsearch.action.RequestValidators<T>

public class RequestValidators<T extends ActionRequest>
extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static interface  RequestValidators.RequestValidator<T extends ActionRequest>
    A validator that validates an request associated with indices before executing it.
  • Constructor Summary

    Constructors
    Constructor Description
    RequestValidators​(java.util.Collection<RequestValidators.RequestValidator<T>> validators)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<java.lang.Exception> validateRequest​(T request, ClusterState state, Index[] indices)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • validateRequest

      public java.util.Optional<java.lang.Exception> validateRequest​(T request, ClusterState state, Index[] indices)