}
<BUG>default <T> CompletableFuture<T> getAsync(final Class<T> type, @DelegatesTo(HttpConfig.class) final Closure closure) {
</BUG>
return CompletableFuture.supplyAsync(() -> get(type, closure), getExecutor());
}
<BUG>default Object head() {
</BUG>
return head(NO_OP);
}
<BUG>default <T> T head(final Class<T> type, @DelegatesTo(HttpConfig.class) final Closure closure) {
</BUG>
return type.cast(head(closure));

}
public static void setDefaultFactory(final Function<HttpObjectConfig, ? extends HttpBuilder> val) {
factory = val;
}
