Package org.elasticsearch.rest
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()
-
Constructor Details
-
DeprecatedRoute
public DeprecatedRoute(RestRequest.Method method, java.lang.String path, java.lang.String deprecationMessage)
-
-
Method Details
-
getDeprecationMessage
public java.lang.String getDeprecationMessage()
-