Class BitbucketCloudRestApiClient
java.lang.Object
com.atlassian.bamboo.plugins.bitbucket.v2.BitbucketCloudRestApiClient
- Direct Known Subclasses:
BitbucketCloudCommitCommenter
,BitbucketCloudPullRequestDetector
,WebhookManagementServiceImpl
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addFeatures
(javax.ws.rs.client.WebTarget resource, javax.ws.rs.core.Feature... features) protected @Nullable org.glassfish.jersey.client.authentication.HttpAuthenticationFeature
getAuthFeature
(String username, String password) protected @Nullable org.glassfish.jersey.logging.LoggingFeature
getLoggingFeature
(org.apache.logging.log4j.Logger log) protected javax.ws.rs.client.Invocation.Builder
prepareResourceCall
(URI requestUri, javax.ws.rs.core.Feature... features) protected javax.ws.rs.client.Invocation.Builder
prepareResourceCall
(URI requestUri, javax.ws.rs.core.MediaType contentType, javax.ws.rs.core.Feature... features)
-
Field Details
-
bitbucketClientSupplier
-
-
Constructor Details
-
BitbucketCloudRestApiClient
public BitbucketCloudRestApiClient()
-
-
Method Details
-
getAuthFeature
-
getLoggingFeature
@Nullable protected @Nullable org.glassfish.jersey.logging.LoggingFeature getLoggingFeature(org.apache.logging.log4j.Logger log) -
addFeatures
protected void addFeatures(javax.ws.rs.client.WebTarget resource, javax.ws.rs.core.Feature... features) -
prepareResourceCall
@NotNull protected javax.ws.rs.client.Invocation.Builder prepareResourceCall(URI requestUri, javax.ws.rs.core.Feature... features) -
prepareResourceCall
@NotNull protected javax.ws.rs.client.Invocation.Builder prepareResourceCall(URI requestUri, javax.ws.rs.core.MediaType contentType, javax.ws.rs.core.Feature... features)
-