Class Routable


  • public abstract class Routable
    extends java.lang.Object
    An object that can route the specified http request to the specified function.
    • Constructor Summary

      Constructors 
      Constructor Description
      Routable()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getMethods()
      Get the supported http methods.
      java.lang.String getPath()
      Get the URI that will be routed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMethods

        public java.lang.String[] getMethods()
        Get the supported http methods.
        Returns:
        The supported http methods.
      • getPath

        public java.lang.String getPath()
        Get the URI that will be routed.
        Returns:
        The URI that will be routed.