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 |
---|---|
<A1,A2> RoutingDsl |
routeAsync(java.util.function.BiFunction<A1,A2,? extends java.util.concurrent.CompletionStage<Result>> action)
Deprecated.
Deprecated as of 2.7.0. Use
routingAsync(RequestFunctions.Params2)
instead. |
<A1,A2,A3> RoutingDsl |
routeAsync(F.Function3<A1,A2,A3,? extends java.util.concurrent.CompletionStage<Result>> action)
Deprecated.
Deprecated as of 2.7.0. Use
routingAsync(RequestFunctions.Params3)
instead. |
<A1> RoutingDsl |
routeAsync(java.util.function.Function<A1,? extends java.util.concurrent.CompletionStage<Result>> action)
Deprecated.
Deprecated as of 2.7.0. Use
routingAsync(RequestFunctions.Params1)
instead. |
RoutingDsl |
routeAsync(java.util.function.Supplier<? extends java.util.concurrent.CompletionStage<Result>> action)
Deprecated.
Deprecated as of 2.7.0. Use
routingAsync(RequestFunctions.Params0)
instead. |
<A1,A2> RoutingDsl |
routeTo(java.util.function.BiFunction<A1,A2,Result> action)
Deprecated.
Deprecated as of 2.7.0. Use
routingTo(RequestFunctions.Params2) instead. |
<A1,A2,A3> RoutingDsl |
routeTo(F.Function3<A1,A2,A3,Result> action)
Deprecated.
Deprecated as of 2.7.0. Use
routingTo(RequestFunctions.Params3) instead. |
<A1> RoutingDsl |
routeTo(java.util.function.Function<A1,Result> action)
Deprecated.
Deprecated as of 2.7.0. Use
routingTo(RequestFunctions.Params1) instead. |
RoutingDsl |
routeTo(java.util.function.Supplier<Result> action)
Deprecated.
Deprecated as of 2.7.0. Use
routingTo(RequestFunctions.Params0) instead. |
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.@Deprecated public RoutingDsl routeTo(java.util.function.Supplier<Result> action)
routingTo(RequestFunctions.Params0)
instead.action
- The action to execute.@Deprecated public <A1> RoutingDsl routeTo(java.util.function.Function<A1,Result> action)
routingTo(RequestFunctions.Params1)
instead.A1
- the first type parameteraction
- The action to execute.@Deprecated public <A1,A2> RoutingDsl routeTo(java.util.function.BiFunction<A1,A2,Result> action)
routingTo(RequestFunctions.Params2)
instead.A1
- the first type parameterA2
- the second type parameteraction
- The action to execute.@Deprecated public <A1,A2,A3> RoutingDsl routeTo(F.Function3<A1,A2,A3,Result> action)
routingTo(RequestFunctions.Params3)
instead.A1
- the first type parameterA2
- the second type parameterA3
- the third type parameteraction
- The action to execute.@Deprecated public RoutingDsl routeAsync(java.util.function.Supplier<? extends java.util.concurrent.CompletionStage<Result>> action)
routingAsync(RequestFunctions.Params0)
instead.action
- The action to execute.@Deprecated public <A1> RoutingDsl routeAsync(java.util.function.Function<A1,? extends java.util.concurrent.CompletionStage<Result>> action)
routingAsync(RequestFunctions.Params1)
instead.A1
- the first type parameteraction
- The action to execute.@Deprecated public <A1,A2> RoutingDsl routeAsync(java.util.function.BiFunction<A1,A2,? extends java.util.concurrent.CompletionStage<Result>> action)
routingAsync(RequestFunctions.Params2)
instead.A1
- the first type parameterA2
- the second type parameteraction
- The action to execute.@Deprecated public <A1,A2,A3> RoutingDsl routeAsync(F.Function3<A1,A2,A3,? extends java.util.concurrent.CompletionStage<Result>> action)
routingAsync(RequestFunctions.Params3)
instead.A1
- the first type parameterA2
- the second type parameterA3
- the third type parameteraction
- The action to execute.