public class RoutingDsl.PathPatternMatcher
extends java.lang.Object
Constructor and Description |
---|
PathPatternMatcher(java.lang.String method,
java.lang.String pathPattern) |
Modifier and Type | Method and Description |
---|---|
RoutingDsl |
routingAsync(RequestFunctions.Params0<? extends java.util.concurrent.CompletionStage<Result>> action)
Route async with the request and no parameters.
|
<P1> RoutingDsl |
routingAsync(RequestFunctions.Params1<P1,? extends java.util.concurrent.CompletionStage<Result>> action)
Route async with request and a single parameter.
|
<P1,P2> RoutingDsl |
routingAsync(RequestFunctions.Params2<P1,P2,? extends java.util.concurrent.CompletionStage<Result>> action)
Route async with request and two parameters.
|
<A1,A2,A3> RoutingDsl |
routingAsync(RequestFunctions.Params3<A1,A2,A3,? extends java.util.concurrent.CompletionStage<Result>> action)
Route async with request and three parameters.
|
RoutingDsl |
routingTo(RequestFunctions.Params0<Result> action)
Route with the request and no parameters.
|
<P1> RoutingDsl |
routingTo(RequestFunctions.Params1<P1,Result> action)
Route with the request and a single parameter.
|
<P1,P2> RoutingDsl |
routingTo(RequestFunctions.Params2<P1,P2,Result> action)
Route with the request and two parameter.
|
<P1,P2,P3> RoutingDsl |
routingTo(RequestFunctions.Params3<P1,P2,P3,Result> action)
Route with the request and three parameter.
|
public PathPatternMatcher(java.lang.String method, java.lang.String pathPattern)
public RoutingDsl routingTo(RequestFunctions.Params0<Result> action)
action
- the action to executepublic <P1> RoutingDsl routingTo(RequestFunctions.Params1<P1,Result> action)
P1
- the first parameter type.action
- the action to execute.public <P1,P2> RoutingDsl routingTo(RequestFunctions.Params2<P1,P2,Result> action)
P1
- the first parameter type.P2
- the second parameter type.action
- the action to execute.public <P1,P2,P3> RoutingDsl routingTo(RequestFunctions.Params3<P1,P2,P3,Result> action)
P1
- the first parameter type.P2
- the second parameter type.P3
- the third parameter type.action
- the action to execute.public RoutingDsl routingAsync(RequestFunctions.Params0<? extends java.util.concurrent.CompletionStage<Result>> action)
action
- The action to execute.public <P1> RoutingDsl routingAsync(RequestFunctions.Params1<P1,? extends java.util.concurrent.CompletionStage<Result>> action)
P1
- the first type parameteraction
- The action to execute.public <P1,P2> RoutingDsl routingAsync(RequestFunctions.Params2<P1,P2,? extends java.util.concurrent.CompletionStage<Result>> action)
P1
- the first type parameterP2
- the second type parameteraction
- The action to execute.public <A1,A2,A3> RoutingDsl routingAsync(RequestFunctions.Params3<A1,A2,A3,? extends java.util.concurrent.CompletionStage<Result>> action)
A1
- the first type parameterA2
- the second type parameterA3
- the third type parameteraction
- The action to execute.