Class BitbucketCloudRestApiClient
- java.lang.Object
-
- com.atlassian.bamboo.plugins.bitbucket.v2.BitbucketCloudRestApiClient
-
- Direct Known Subclasses:
BitbucketCloudCommitCommenter
,BitbucketCloudPullRequestDetector
,WebhookManagementServiceImpl
public abstract class BitbucketCloudRestApiClient extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Supplier<com.sun.jersey.api.client.Client>
bitbucketClientSupplier
-
Constructor Summary
Constructors Constructor Description BitbucketCloudRestApiClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addFilters(com.sun.jersey.api.client.WebResource resource, @NotNull com.sun.jersey.api.client.filter.ClientFilter... filters)
protected @Nullable com.sun.jersey.api.client.filter.HTTPBasicAuthFilter
getAuthFilter(String username, String password)
protected @Nullable com.sun.jersey.api.client.filter.LoggingFilter
getLoggingFilter(org.apache.log4j.Logger log)
protected com.sun.jersey.api.client.WebResource.Builder
prepareResourceCall(URI requestUri, @NotNull com.sun.jersey.api.client.filter.ClientFilter... filters)
-
-
-
Field Detail
-
bitbucketClientSupplier
protected final Supplier<com.sun.jersey.api.client.Client> bitbucketClientSupplier
-
-
Method Detail
-
getAuthFilter
@Nullable protected @Nullable com.sun.jersey.api.client.filter.HTTPBasicAuthFilter getAuthFilter(String username, String password)
-
getLoggingFilter
@Nullable protected @Nullable com.sun.jersey.api.client.filter.LoggingFilter getLoggingFilter(org.apache.log4j.Logger log)
-
addFilters
protected void addFilters(com.sun.jersey.api.client.WebResource resource, @NotNull @NotNull com.sun.jersey.api.client.filter.ClientFilter... filters)
-
prepareResourceCall
@NotNull protected com.sun.jersey.api.client.WebResource.Builder prepareResourceCall(URI requestUri, @NotNull @NotNull com.sun.jersey.api.client.filter.ClientFilter... filters)
-
-