@Test public void testDescribeUser() throws IOException { SObjectDescription userDesc = conn.describeSObject("User"); SObjectUrls sObjectUrls = userDesc.getsObjectUrls(); assertEquals("/services/data/v" + API_VERSION + "/sobjects/User/{ID}/password", sObjectUrls.getPasswordUtilities()); }
@Override @Nonnull public SObjectDescription describeSObject(String sObjectType) throws IOException { Timer.Context context = describeSObjectTimer.time(); String descrJson; try { descrJson = this.getHttpApiClient().describeSObject(sObjectType); } finally { context.stop(); } return this.objectReader.withType(SObjectDescription.class).readValue(descrJson); }
RestConnectionImpl implements RestConnection { @Override @Nonnull public SObjectDescription describeSObject(String sObjectType) throws IOException { Timer.Context context = describeSObjectTimer.time(); String descrJson; try { descrJson = this.getHttpApiClient().describeSObject(sObjectType); } finally { context.stop(); } return this.objectReader.withType(SObjectDescription.class).readValue(descrJson); } }
RestConnectionImpl implements RestConnection { @Override @Nonnull public SObjectDescription describeSObject(String sObjectType) throws IOException { Timer.Context context = describeSObjectTimer.time(); String descrJson; try { descrJson = this.getHttpApiClient().describeSObject(sObjectType); } finally { context.stop(); } return this.objectReader.withType(SObjectDescription.class).readValue(descrJson); } RestConnectionImpl(ObjectReader objectReader, HttpApiClientProvider httpApiClientProvider,
            MetricRegistry metricRegistry); }
RestConnectionImpl implements RestConnection { @Override @Nonnull public SObjectDescription describeSObject(String sObjectType) throws IOException { Timer.Context context = describeSObjectTimer.time(); String descrJson; try { descrJson = this.getHttpApiClient().describeSObject(sObjectType); } finally { context.stop(); } return this.objectReader.withType(SObjectDescription.class).readValue(descrJson); } RestConnectionImpl(ObjectReader objectReader, HttpApiClientProvider httpApiClientProvider,
            MetricRegistry metricRegistry); @Override @Nonnull SaveResult create(SObject sObject); @Override void delete(String sObjectType, Id id); @Override @Nonnull DescribeGlobalResult describeGlobal(); @Override @Nonnull SObjectDescription describeSObject(String sObjectType); @Override @Nonnull BasicSObjectMetadataResult getBasicObjectInfo(String sObjectType); @Override @Nonnull RestQueryResult query(String soql); @Override @Nonnull RestQueryResult queryMore(RestQueryLocator queryLocator); @Override @Nonnull SObject retrieve(String sObjectType, Id id, List<String> fields); @Override @Nonnull List<SObject> search(String sosl); @Override void update(SObject sObject); @Override @Nonnull UpsertResult upsert(SObject sObject, String externalIdField); }
RestConnectionImpl implements RestConnection { @Override @Nonnull public SObjectDescription describeSObject(String sObjectType) throws IOException { Timer.Context context = describeSObjectTimer.time(); String descrJson; try { descrJson = this.getHttpApiClient().describeSObject(sObjectType); } finally { context.stop(); } return this.objectReader.withType(SObjectDescription.class).readValue(descrJson); } RestConnectionImpl(ObjectReader objectReader, HttpApiClientProvider httpApiClientProvider,
            MetricRegistry metricRegistry); @Override @Nonnull SaveResult create(SObject sObject); @Override void delete(String sObjectType, Id id); @Override @Nonnull DescribeGlobalResult describeGlobal(); @Override @Nonnull SObjectDescription describeSObject(String sObjectType); @Override @Nonnull BasicSObjectMetadataResult getBasicObjectInfo(String sObjectType); @Override @Nonnull RestQueryResult query(String soql); @Override @Nonnull RestQueryResult queryMore(RestQueryLocator queryLocator); @Override @Nonnull SObject retrieve(String sObjectType, Id id, List<String> fields); @Override @Nonnull List<SObject> search(String sosl); @Override void update(SObject sObject); @Override @Nonnull UpsertResult upsert(SObject sObject, String externalIdField);  }