this.binding = binding;
this.handler = handler;
}
public void handle(Context context) {
PathBinding childBinding = binding.bind(context.getRequest().getPath(), context.maybeGet(PathBinding.class).orElse(null));
if (childBinding != null) {
context.insert(Registries.just(PathBinding.class, childBinding), handler);
} else {
context.next();
}