public class Route<T extends ComponentsProvider>
A route describes one endpoint in a REST API.
A route contains
The HTTP method it accepts, for example GET or POST
The path to the endpoint, for example /foo/bar
The authorisation needed to invoke the endpoint
| Modifier and Type | Class and Description |
|---|---|
static class |
Route.Companion |
| Modifier and Type | Field and Description |
|---|---|
static Route.Companion |
Companion |
| Modifier and Type | Method and Description |
|---|---|
Auth |
getAuth() |
java.lang.String |
getPath() |
public static Route.Companion Companion
public java.lang.String getPath()
public Auth getAuth()