Class RestHandler.DeprecatedRoute

java.lang.Object
org.elasticsearch.rest.RestHandler.Route
org.elasticsearch.rest.RestHandler.DeprecatedRoute
Enclosing interface:
RestHandler

public static class RestHandler.DeprecatedRoute
extends RestHandler.Route
Represents an API that has been deprecated and is slated for removal.
  • Constructor Summary

    Constructors
    Constructor Description
    DeprecatedRoute​(RestRequest.Method method, java.lang.String path, java.lang.String deprecationMessage)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDeprecationMessage()  

    Methods inherited from class org.elasticsearch.rest.RestHandler.Route

    getMethod, getPath

    Methods inherited from class java.lang.Object

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

    • DeprecatedRoute

      public DeprecatedRoute​(RestRequest.Method method, java.lang.String path, java.lang.String deprecationMessage)
  • Method Details

    • getDeprecationMessage

      public java.lang.String getDeprecationMessage()