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.Requestso that the blocks have access to the request made.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRequestFunctions.Params0<R>A function that receives aHttp.Request, no parameters, and return a result type.static interfaceRequestFunctions.Params1<P,R>A function that receives aHttp.Request, a single parameter, and return a result type.static interfaceRequestFunctions.Params2<P1,P2,R>A function that receives aHttp.Request, two parameters, and return a result type.static interfaceRequestFunctions.Params3<P1,P2,P3,R>A function that receives aHttp.Request, three parameters, and return a result type.static interfaceRequestFunctions.RequestFunctionThis is used to "tag" the functions which requires a request to execute.
-
Constructor Summary
Constructors Constructor Description RequestFunctions()
-