Package io.camunda.zeebe.client.impl
Class NoopCredentialsProvider
java.lang.Object
io.camunda.zeebe.client.impl.NoopCredentialsProvider
- All Implemented Interfaces:
CredentialsProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.client.CredentialsProvider
CredentialsProvider.CredentialsApplier, CredentialsProvider.StatusCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds credentials to the headers.booleanshouldRetryRequest(CredentialsProvider.StatusCode statusCode) Returns true if the request should be retried; otherwise returns false.
-
Constructor Details
-
NoopCredentialsProvider
public NoopCredentialsProvider()
-
-
Method Details
-
applyCredentials
Description copied from interface:CredentialsProviderAdds credentials to the headers. For an example of this, seeOAuthCredentialsProvider.applyCredentials(CredentialsApplier)- Specified by:
applyCredentialsin interfaceCredentialsProvider- Parameters:
ignored- where to add the credentials headers
-
shouldRetryRequest
Description copied from interface:CredentialsProviderReturns true if the request should be retried; otherwise returns false. For an example of this, seeOAuthCredentialsProvider.shouldRetryRequest(StatusCode).Only called for REST calls
- Specified by:
shouldRetryRequestin interfaceCredentialsProvider- Parameters:
statusCode- the response code for the failure
-