Package rsp.routing
Class PathMatchFunction<S>
java.lang.Object
rsp.routing.PathMatchFunction<S>
- All Implemented Interfaces:
Function<rsp.server.Path,CompletableFuture<S>>
public final class PathMatchFunction<S>
extends Object
implements Function<rsp.server.Path,CompletableFuture<S>>
-
Constructor Summary
ConstructorsConstructorDescriptionPathMatchFunction(PathPattern pathPattern, BiFunction<String, String, CompletableFuture<S>> matchFun) -
Method Summary
-
Constructor Details
-
PathMatchFunction
public PathMatchFunction(PathPattern pathPattern, BiFunction<String, String, CompletableFuture<S>> matchFun)
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<rsp.server.Path,CompletableFuture<S>>
-