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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bitbucket.jenkins.internal.credentials.BitbucketCredentials
BitbucketCredentials.AnonymousCredentials -
Field Summary
Fields inherited from interface com.atlassian.bitbucket.jenkins.internal.credentials.BitbucketCredentials
ANONYMOUS_CREDENTIALS -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(okhttp3.Request.Builder builder) Update the supplied builder with the configuration required.Convert this representation to authorization header value.
-
Method Details
-
toHeaderValue
Description copied from interface:BitbucketCredentialsConvert this representation to authorization header value.- Specified by:
toHeaderValuein interfaceBitbucketCredentials- Returns:
- header value.
-
apply
public void apply(okhttp3.Request.Builder builder) Description copied from interface:RequestConfigurationUpdate 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:
applyin interfaceBitbucketCredentials- Specified by:
applyin interfaceRequestConfiguration- Parameters:
builder- the request builder, someRequestConfigurations may already have been applied to the builder
-