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<jakarta.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(jakarta.ws.rs.client.WebTarget resource, jakarta.ws.rs.core.Feature... features)
    • prepareResourceCall

      @NotNull protected jakarta.ws.rs.client.Invocation.Builder prepareResourceCall(URI requestUri, jakarta.ws.rs.core.Feature... features)
    • prepareResourceCall

      @NotNull protected jakarta.ws.rs.client.Invocation.Builder prepareResourceCall(URI requestUri, jakarta.ws.rs.core.MediaType contentType, jakarta.ws.rs.core.Feature... features)