Interface RequestConfiguration
- 
- All Known Subinterfaces:
 BitbucketCredentials
- All Known Implementing Classes:
 BitbucketCredentials.AnonymousCredentials,RetryOnRateLimitConfig
public interface RequestConfigurationAdditional HTTP request configuration. The configuration is applied before the request is made. It is applied exactly once, and in the case of re-try they will not be applied again for new attempts. anIllegalArgumentExceptionis thrown if the sameRequestConfigurationis added more than once to a single request.- Since:
 - 3.1
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(okhttp3.Request.Builder builder)Update the supplied builder with the configuration required. 
 - 
 
- 
- 
Method Detail
- 
apply
void apply(okhttp3.Request.Builder builder)
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.- Parameters:
 builder- the request builder, someRequestConfigurations may already have been applied to the builder
 
 - 
 
 -