Example usage for org.apache.http.nio.conn ManagedNHttpClientConnection close

List of usage examples for org.apache.http.nio.conn ManagedNHttpClientConnection close

Introduction

In this page you can find the example usage for org.apache.http.nio.conn ManagedNHttpClientConnection close.

Prototype

void close() throws IOException;

Source Link

Usage

From source file:org.apache.http.impl.nio.conn.CPoolEntry.java

public void closeConnection() throws IOException {
    final ManagedNHttpClientConnection conn = getConnection();
    conn.close();
}