public interface Routes
routes.uriFor(OrderController.class).get(order); String uri = routes.getUri();
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<HttpMethod> |
allowedMethodsFor(java.lang.String uri)
Returns an enumset of allowed methods for this specific uri.
|
java.lang.String |
getUri()
Returns the last analyzed uri.
|
<T> T |
uriFor(java.lang.Class<T> type)
Analyzes an uri for a specific controller.
|
<T> T uriFor(java.lang.Class<T> type)
T
- the controllertype
- the controller typejava.lang.String getUri()
java.util.EnumSet<HttpMethod> allowedMethodsFor(java.lang.String uri)
Copyright © 2013 Caelum. All Rights Reserved.