get method

void get(
  1. String path,
  2. T value
)

Adds a route definition for the GET HTTP method.

Equivalent to calling add(Method.get, path, value).

Implementation

void get(final String path, final T value) => add(Method.get, path, value);