RouteEx<T extends Object> extension

on

Methods

any(String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for all HTTP methods (GET, POST, PUT, etc.).
anyOf(Set<Method> methods, String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for a set of HTTP methods.
connect(String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for the CONNECT HTTP method.
delete(String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for the DELETE HTTP method.
get(String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for the GET HTTP method.
group(String path) Router<T>

Available on Router<T>, provided by the RouteEx extension

Create and attach a subrouter for a path. If one already exists they are merged.

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for the HEAD HTTP method.
options(String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for the OPTIONS HTTP method.
patch(String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for the PATCH HTTP method.
post(String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for the POST HTTP method.
put(String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for the PUT HTTP method.
trace(String path, T value) → void

Available on Router<T>, provided by the RouteEx extension

Adds a route definition for the TRACE HTTP method.