Example usage for java.util.concurrent CompletableFuture subclass-usage

List of usage examples for java.util.concurrent CompletableFuture subclass-usage

Introduction

In this page you can find the example usage for java.util.concurrent CompletableFuture subclass-usage.

Usage

From source file org.apache.trafficcontrol.client.trafficops.ResponseFuture.java

@AutoValue
public abstract class ResponseFuture<T extends Response> extends CompletableFuture<T>
        implements BiConsumer<HttpResponse, Throwable> {
    public static enum Method {
        POST, GET
    }