public interface ReverseRoutes
Modifier and Type | Method and Description |
---|---|
<T> ReverseRoute |
connect(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a CONNECT method on a Controller call.
|
<T> ReverseRoute |
delete(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a DELETE method on a Controller call.
|
<T> ReverseRoute |
get(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a GET method on a Controller call.
|
<T> ReverseRoute |
head(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a HEAD method on a Controller call.
|
<T> ReverseRoute |
of(Method httpMethod, Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a given method on a Controller call.
|
<T> ReverseRoute |
of(String httpMethod, Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a given method on a Controller call.
|
<T> ReverseRoute |
options(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for an OPTIONS method on a Controller call.
|
<T> ReverseRoute |
patch(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a PATCH method on a Controller call.
|
<T> ReverseRoute |
post(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a POST method on a Controller call.
|
<T> ReverseRoute |
put(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a PUT method on a Controller call.
|
<T> ReverseRoute |
trace(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
ReverseRoute for a TRACE method on a Controller call.
|
<T> ReverseRoute options(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute get(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute head(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute post(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute put(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute delete(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute trace(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute patch(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute connect(Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute of(String httpMethod, Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
httpMethod
- HTTP method
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found
<T> ReverseRoute of(Method httpMethod, Class<T> controllerType, ControllerCallRecorder<T> callRecorder)
T
- Parameterized type of the Controller
httpMethod
- HTTP method
controllerType
- Controller Type
callRecorder
- Closure to call the target Controller Method
RouteNotFoundException
- if a corresponding Route cannot be found