Class BitbucketCredentials.AnonymousCredentials

java.lang.Object
com.atlassian.bitbucket.jenkins.internal.credentials.BitbucketCredentials.AnonymousCredentials
All Implemented Interfaces:
RequestConfiguration, BitbucketCredentials
Enclosing interface:
BitbucketCredentials

public static final class BitbucketCredentials.AnonymousCredentials extends Object implements BitbucketCredentials
  • Method Details

    • toHeaderValue

      public String toHeaderValue()
      Description copied from interface: BitbucketCredentials
      Convert this representation to authorization header value.
      Specified by:
      toHeaderValue in interface BitbucketCredentials
      Returns:
      header value.
    • apply

      public void apply(okhttp3.Request.Builder builder)
      Description copied from interface: RequestConfiguration
      Update the supplied builder with the configuration required. The order in which configurations are applied is not defined nor guaranteed to be the same between invocations.
      Specified by:
      apply in interface BitbucketCredentials
      Specified by:
      apply in interface RequestConfiguration
      Parameters:
      builder - the request builder, some RequestConfigurations may already have been applied to the builder