summaryrefslogtreecommitdiffstats
path: root/clustercontroller-utils/src/main/java/com/yahoo/vespa/clustercontroller/utils/communication/http/SyncHttpClient.java
blob: cdb20be3338b8628404491b75ea6235a6f17817c (plain) (blame)
1
2
3
4
5
6
7
8
9
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.utils.communication.http;

public interface SyncHttpClient {
    public HttpResult execute(HttpRequest r);

    /** Attempt to cancel all pending operations and shut down the client. */
    public void close();
}