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 Details

    • bitbucketClientSupplier

      protected final Supplier<javax.ws.rs.client.Client> bitbucketClientSupplier
  • Constructor Details

    • BitbucketCloudRestApiClient

      public BitbucketCloudRestApiClient()
  • Method Details

    • getAuthFeature

      @Nullable protected @Nullable org.glassfish.jersey.client.authentication.HttpAuthenticationFeature getAuthFeature(String username, String password)
    • 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)