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 class
BitbucketCredentials.AnonymousCredentials
-
Field Summary
Fields Modifier and Type Field Description static BitbucketCredentials
ANONYMOUS_CREDENTIALS
The 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 void
apply(okhttp3.Request.Builder builder)
Update the supplied builder with the configuration required.String
toHeaderValue()
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: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
-
-