Interface BitbucketCredentials
- All Superinterfaces:
RequestConfiguration
- All Known Implementing Classes:
BitbucketCredentials.AnonymousCredentials
Represents Bitbucket credential that will be used to make remote calls to Bitbucket server.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BitbucketCredentialsThe authorization header key which will be sent with all authorized request. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapply(okhttp3.Request.Builder builder) Update the supplied builder with the configuration required.Convert this representation to authorization header value.
-
Field Details
-
ANONYMOUS_CREDENTIALS
The authorization header key which will be sent with all authorized request.
-
-
Method Details
-
toHeaderValue
String toHeaderValue()Convert this representation to authorization header value.- Returns:
- header value.
-
apply
default 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 interfaceRequestConfiguration- Parameters:
builder- the request builder, someRequestConfigurations may already have been applied to the builder
-