public interface JiraRestClientFactory
Modifier and Type | Method and Description |
---|---|
JiraRestClient |
create(URI serverUri,
AuthenticationHandler authenticationHandler)
Creates an instance of JiraRestClient with default HttpClient settings.
|
JiraRestClient |
create(URI serverUri,
com.atlassian.httpclient.api.HttpClient httpClient)
Creates an instance of JiraRestClient with given Atlassian HttpClient.
|
JiraRestClient |
createWithBasicHttpAuthentication(URI serverUri,
String username,
String password)
Creates an instance of JiraRestClient with default HttpClient settings.
|
JiraRestClient create(URI serverUri, AuthenticationHandler authenticationHandler)
serverUri
- - URI of JIRA instance.authenticationHandler
- - requests authenticator.JiraRestClient createWithBasicHttpAuthentication(URI serverUri, String username, String password)
serverUri
- - URI or JIRA instance.username
- - username of the user used to log in to JIRA.password
- - password of the user used to log in to JIRA.JiraRestClient create(URI serverUri, com.atlassian.httpclient.api.HttpClient httpClient)
serverUri
- - URI of JIRA instance.httpClient
- - instance of Atlassian HttpClient.Copyright © 2013 Atlassian. All Rights Reserved.