Package play.routing
Class RequestFunctions
- Object
-
- play.routing.RequestFunctions
-
public class RequestFunctions extends Object
Define functions to be used withRoutingDsl
. The functions here always declared the first parameter as anHttp.Request
so that the blocks have access to the request made.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RequestFunctions.Params0<R>
A function that receives aHttp.Request
, no parameters, and return a result type.static interface
RequestFunctions.Params1<P,R>
A function that receives aHttp.Request
, a single parameter, and return a result type.static interface
RequestFunctions.Params2<P1,P2,R>
A function that receives aHttp.Request
, two parameters, and return a result type.static interface
RequestFunctions.Params3<P1,P2,P3,R>
A function that receives aHttp.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 Summary
Constructors Constructor Description RequestFunctions()
-