Interface BitbucketCredentials
-
- All Superinterfaces:
RequestConfiguration
- All Known Implementing Classes:
BitbucketCredentials.AnonymousCredentials
public interface BitbucketCredentials extends RequestConfiguration
Represents Bitbucket credential that will be used to make remote calls to Bitbucket server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBitbucketCredentials.AnonymousCredentials
-
Field Summary
Fields Modifier and Type Field Description static BitbucketCredentialsANONYMOUS_CREDENTIALSThe authorization header key which will be sent with all authorized request.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidapply(okhttp3.Request.Builder builder)Update the supplied builder with the configuration required.StringtoHeaderValue()Convert this representation to authorization header value.
-
-
-
Field Detail
-
ANONYMOUS_CREDENTIALS
static final BitbucketCredentials ANONYMOUS_CREDENTIALS
The authorization header key which will be sent with all authorized request.
-
-
Method Detail
-
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
-
-