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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(okhttp3.Request.Builder builder)
Update the supplied builder with the configuration required.String
toHeaderValue()
Convert this representation to authorization header value.
-
-
-
Method Detail
-
toHeaderValue
public String toHeaderValue()
Description copied from interface:BitbucketCredentials
Convert this representation to authorization header value.- Specified by:
toHeaderValue
in interfaceBitbucketCredentials
- 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 interfaceBitbucketCredentials
- Specified by:
apply
in interfaceRequestConfiguration
- Parameters:
builder
- the request builder, someRequestConfiguration
s may already have been applied to the builder
-
-