public class RequestFunctions
extends java.lang.Object
RoutingDsl
. The functions here always declared the first
parameter as an Http.Request
so that the blocks have access to the request made.Modifier and Type | Class and Description |
---|---|
static interface |
RequestFunctions.Params0<R>
A function that receives a
Http.Request , no parameters, and return a result type. |
static interface |
RequestFunctions.Params1<P,R>
A function that receives a
Http.Request , a single parameter, and return a result type. |
static interface |
RequestFunctions.Params2<P1,P2,R>
A function that receives a
Http.Request , two parameters, and return a result type. |
static interface |
RequestFunctions.Params3<P1,P2,P3,R>
A function that receives a
Http.Request , three parameters, and return a result type. |
static interface |
RequestFunctions.RequestFunction
This is used to "tag" the functions which requires a request to execute.
|
Constructor and Description |
---|
RequestFunctions() |