Package com.atlassian.connect.spring
Interface ForgeRequestProductMethods
- All Known Implementing Classes:
AtlassianForgeRestClients
public interface ForgeRequestProductMethods
A
ForgeRequestProductMethods
that provides methods to make Forge authenticated requests to the Atlassian products-
Method Summary
Modifier and TypeMethodDescriptionrequest()
For making requests to the Atlassian API using Forge authentication.For making requests to Confluence using Forge authentication.For making requests to Jira using Forge authentication.
-
Method Details
-
request
RestTemplate request()For making requests to the Atlassian API using Forge authentication. You can call eitherAtlassianForgeRestClients.asUser()
orAtlassianForgeRestClients.asApp()
and then chain it with the product you are targeting- Returns:
- a REST client for making requests to the Atlassian API using Forge authentication
-
requestConfluence
RestTemplate requestConfluence()For making requests to Confluence using Forge authentication. You can call eitherAtlassianForgeRestClients.asUser()
orAtlassianForgeRestClients.asApp()
and then chain it with the product you are targeting- Returns:
- a REST client for making requests to Confluence using Forge authentication
-
requestJira
RestTemplate requestJira()For making requests to Jira using Forge authentication. You can call eitherAtlassianForgeRestClients.asUser()
orAtlassianForgeRestClients.asApp()
and then chain it with the product you are targeting- Returns:
- a REST client for making requests to Jira using Forge authentication
-