Class RestHandler.Route

java.lang.Object
org.elasticsearch.rest.RestHandler.Route
Direct Known Subclasses:
RestHandler.DeprecatedRoute, RestHandler.ReplacedRoute
Enclosing interface:
RestHandler

public static class RestHandler.Route
extends java.lang.Object
  • Constructor Summary

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

    Modifier and Type Method Description
    RestRequest.Method getMethod()  
    java.lang.String getPath()  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getPath

      public java.lang.String getPath()
    • getMethod

      public RestRequest.Method getMethod()