protected void disconnect(final URLConnection connection) {
    final URLConnection http = UrlConnectionWrapper.unwrap(connection);
    if (http instanceof HttpURLConnection) {
      ((HttpURLConnection) http).disconnect();
    }
  }
protected void disconnect(final URLConnection connection) {
    final URLConnection http = UrlConnectionWrapper.unwrap(connection);
    if (http instanceof HttpURLConnection) {
      ((HttpURLConnection) http).disconnect();
    }
  }
protected void disconnect ( final URLConnection connection ) { final URLConnection http = UrlConnectionWrapper . unwrap ( connection ) ; if ( http instanceof HttpURLConnection ) { ( ( HttpURLConnection ) http ) . disconnect ( ) ; } }
Perform disconnect actions.
@param connection connection instance (may be wrapped)
Perform disconnect actions .