| Modifier and Type | Method and Description |
|---|---|
static <T> Router.Result<T> |
Router.Result.capturing(int captures)
Create a new
Router.Result with enough capacity to hold captures captured
parameters. |
Router.Result<T> |
Router.result()
Create a
Router.Result with enough capacity to hold all captured parameters for any endpoint
of this router. |
| Modifier and Type | Method and Description |
|---|---|
Router.Status |
Router.route(CharSequence method,
CharSequence path,
Router.Result<T> result)
Route a request.
|
Copyright © 2015. All Rights Reserved.