public class RestCrowdClientFactory extends Object implements CrowdClientFactory
| Constructor and Description |
|---|
RestCrowdClientFactory() |
RestCrowdClientFactory(HttpClientProvider httpClientProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.impl.client.CloseableHttpClient |
getHttpClient(ClientProperties clientProperties)
Get a
CloseableHttpClient instance configured with the given ClientProperties. |
CrowdClient |
newInstance(ClientProperties clientProperties) |
CrowdClient |
newInstance(String url,
String applicationName,
String applicationPassword) |
public RestCrowdClientFactory()
public RestCrowdClientFactory(HttpClientProvider httpClientProvider)
public CrowdClient newInstance(String url, String applicationName, String applicationPassword)
newInstance in interface CrowdClientFactorypublic CrowdClient newInstance(ClientProperties clientProperties)
newInstance in interface CrowdClientFactoryprotected org.apache.http.impl.client.CloseableHttpClient getHttpClient(ClientProperties clientProperties)
CloseableHttpClient instance configured with the given ClientProperties.clientProperties - the properties to use to configure the http client.CloseableHttpClient instance.Copyright © 2023 Atlassian. All rights reserved.