Package dev.openfunction.functions
Class Routable
- java.lang.Object
-
- dev.openfunction.functions.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.StringgetPath()Get the URI that will be routed.
-
-
-
Constructor Detail
-
Routable
public Routable()
-
-
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.
-
-