Builder

public abstract class Builder

Builder for HttpRetryOptions.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public abstract HttpRetryOptions.Builder attempts(Integer attempts)
Setter for attempts.
Link copied to clipboard
public abstract HttpRetryOptions build()
Link copied to clipboard
@CanIgnoreReturnValue()
public HttpRetryOptions.Builder clearAttempts()
Clears the value of attempts field.
Link copied to clipboard
@CanIgnoreReturnValue()
public HttpRetryOptions.Builder clearExpBase()
Clears the value of expBase field.
Link copied to clipboard
@CanIgnoreReturnValue()
public HttpRetryOptions.Builder clearHttpStatusCodes()
Clears the value of httpStatusCodes field.
Link copied to clipboard
@CanIgnoreReturnValue()
public HttpRetryOptions.Builder clearInitialDelay()
Clears the value of initialDelay field.
Link copied to clipboard
@CanIgnoreReturnValue()
public HttpRetryOptions.Builder clearJitter()
Clears the value of jitter field.
Link copied to clipboard
@CanIgnoreReturnValue()
public HttpRetryOptions.Builder clearMaxDelay()
Clears the value of maxDelay field.
Link copied to clipboard
public abstract HttpRetryOptions.Builder expBase(Double expBase)
Setter for expBase.
Link copied to clipboard
@CanIgnoreReturnValue()
public HttpRetryOptions.Builder httpStatusCodes(Array<Integer> httpStatusCodes)
public abstract HttpRetryOptions.Builder httpStatusCodes(List<Integer> httpStatusCodes)
Setter for httpStatusCodes.
Link copied to clipboard
public abstract HttpRetryOptions.Builder initialDelay(Double initialDelay)
Setter for initialDelay.
Link copied to clipboard
public abstract HttpRetryOptions.Builder jitter(Double jitter)
Setter for jitter.
Link copied to clipboard
public abstract HttpRetryOptions.Builder maxDelay(Double maxDelay)
Setter for maxDelay.