Class SimpleRestClient
java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<SimpleRestClient>
com.atlassian.jira.webtest.webdriver.util.rest.SimpleRestClient
public class SimpleRestClient
extends com.atlassian.jira.testkit.client.RestApiClient<SimpleRestClient>
Extension of testkit's RestApiClient that allows for convenient rest api calls
without creating dedicated classes for each use case.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient
com.atlassian.jira.testkit.client.RestApiClient.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.RestApiClient.JsonMediaTypeFilter, com.atlassian.jira.testkit.client.RestApiClient.RestCall
-
Field Summary
Fields inherited from class com.atlassian.jira.testkit.client.RestApiClient
REST_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleRestClient
(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData) -
Method Summary
Methods inherited from class com.atlassian.jira.testkit.client.RestApiClient
anonymous, authenticate, authoriseWithOAuth2, authoriseWithOAuth2, cleanUp, client, createResource, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getCredentialsProvider, getEnvironmentData, loginAs, loginAs, registerResponse, resourceRoot, resourceRoot, setOf, toResponse, toResponse, toResponse, withCredentialsProvider
-
Constructor Details
-
SimpleRestClient
public SimpleRestClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
-
-
Method Details
-
invoke
-