Class RestHandler.ReplacedRoute

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

public static class RestHandler.ReplacedRoute
extends RestHandler.Route
Represents an API that has had its path or method changed. Holds both the new and previous path and method combination.
  • Constructor Details

  • Method Details

    • getDeprecatedPath

      public java.lang.String getDeprecatedPath()
    • getDeprecatedMethod

      public RestRequest.Method getDeprecatedMethod()