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
Modifier and TypeInterfaceDescriptionstatic final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BitbucketCredentials
The authorization header key which will be sent with all authorized request. -
Method Summary
Modifier and TypeMethodDescriptiondefault void
apply
(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: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 interfaceRequestConfiguration
- Parameters:
builder
- the request builder, someRequestConfiguration
s may already have been applied to the builder
-