@Component @ApplicationScoped public class DefaultRoutes extends java.lang.Object implements Routes
| Constructor and Description |
|---|
DefaultRoutes(Router router,
Proxifier proxifier) |
| 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.
|
public <T> T uriFor(java.lang.Class<T> type)
Routespublic java.lang.String getUri()
Routespublic java.util.EnumSet<HttpMethod> allowedMethodsFor(java.lang.String uri)
RoutesallowedMethodsFor in interface RoutesCopyright © 2013 Caelum. All Rights Reserved.