T - type of the destination.public class HttpRoute<T> extends Object
| Constructor and Description |
|---|
HttpRoute(String path,
T destination,
List<String> methods)
Create new instance.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getDestination() |
List<String> |
getMethods() |
String |
getPath() |
RoutingResult<T> |
match(String method,
String path) |
String |
toString() |
Copyright © 2015. All rights reserved.