package io.vertx.groovy.ext.web.handler.graphql;
public class GraphQLHandler_GroovyExtension {
public static io.vertx.ext.web.handler.graphql.GraphQLHandler queryContext(io.vertx.ext.web.handler.graphql.GraphQLHandler j_receiver, java.util.function.Function<io.vertx.ext.web.RoutingContext, java.lang.Object> factory) {
io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.queryContext(factory != null ? new java.util.function.Function<io.vertx.ext.web.RoutingContext, java.lang.Object>() {
public java.lang.Object apply(io.vertx.ext.web.RoutingContext t) {
io.vertx.ext.web.RoutingContext o = io.vertx.core.impl.ConversionHelper.fromObject(t);
java.lang.Object p = factory.apply(o);
return io.vertx.core.impl.ConversionHelper.toObject(p);
}
} : null));
return j_receiver;
}
}