public interface JiraRestClientFactory
| Modifier and Type | Method and Description |
|---|---|
JiraRestClient |
create(java.net.URI serverUri,
AuthenticationHandler authenticationHandler)
Creates an instance of JiraRestClient with default HttpClient settings.
|
JiraRestClient |
create(java.net.URI serverUri,
com.atlassian.httpclient.api.HttpClient httpClient)
Creates an instance of JiraRestClient with given Atlassian HttpClient.
|
JiraRestClient |
createWithBasicHttpAuthentication(java.net.URI serverUri,
java.lang.String username,
java.lang.String password)
Creates an instance of JiraRestClient with default HttpClient settings.
|
JiraRestClient create(java.net.URI serverUri, AuthenticationHandler authenticationHandler)
serverUri - - URI of JIRA instance.authenticationHandler - - requests authenticator.JiraRestClient createWithBasicHttpAuthentication(java.net.URI serverUri, java.lang.String username, java.lang.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(java.net.URI serverUri, com.atlassian.httpclient.api.HttpClient httpClient)
serverUri - - URI of JIRA instance.httpClient - - instance of Atlassian HttpClient.Copyright © 2013 Atlassian. All Rights Reserved.