|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface RouteByConvention
Convention for mapping routes where annotations aren't explicitly provided.
RoutesConfiguration.routeByConvention| Method Summary | |
|---|---|
java.util.List<HttpMethod> |
respondsToMethods(java.lang.reflect.Method routeMethod)
The HTTP methods this route method responds to when Route.respondsToMethods() is not specified. |
java.lang.String |
routePath(java.lang.reflect.Method routeMethod)
The generated route path from a route method with no Route.value(). |
java.lang.String |
routesPathPrefix(java.lang.Class routesClass)
The generated root path of a routes class when Routes.value() is not specified. |
| Method Detail |
|---|
java.lang.String routesPathPrefix(java.lang.Class routesClass)
Routes.value() is not specified. This root
path will only be prepended to route method paths without Route.value().
routesClass - The routes class.
java.lang.String routePath(java.lang.reflect.Method routeMethod)
Route.value(). The path returned
here will be appended to routesPathPrefix(Class).
routeMethod -
java.util.List<HttpMethod> respondsToMethods(java.lang.reflect.Method routeMethod)
Route.respondsToMethods() is not specified.
routeMethod -
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||