Example usage for org.apache.http.client.fluent Request abort

List of usage examples for org.apache.http.client.fluent Request abort

Introduction

In this page you can find the example usage for org.apache.http.client.fluent Request abort.

Prototype

public void abort() throws UnsupportedOperationException 

Source Link

Usage

From source file:com.jaspersoft.studio.server.protocol.ConnectionManager.java

private synchronized static void clean() {
    for (Request r : requests.keySet()) {
        IProgressMonitor m = requests.get(r);
        if (m.isCanceled()) {
            r.abort();
            requests.remove(r);//from www  .ja v  a 2 s. c o m
        }
    }
}