Package com.aventstack.chaintest.http
Class ChainTestApiClient.Builder
java.lang.Object
com.aventstack.chaintest.http.ChainTestApiClient.Builder
- Enclosing class:
- ChainTestApiClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withExpectContinue(boolean expectContinue) withHttpClient(HttpClient client) withMaxHttpRetryAttempts(int maxRetryAttempts) withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) withRequestTimeout(Duration duration) withRetryIntervalMs(long retryIntervalMs) withThrowAfterMaxRetryAttempts(boolean throwAfterMaxRetryAttempts)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withHttpClient
-
withObjectMapper
public ChainTestApiClient.Builder withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) -
withRequestTimeout
-
withURI
-
withURI
-
withExpectContinue
-
withMaxHttpRetryAttempts
-
withRetryIntervalMs
-
withThrowAfterMaxRetryAttempts
public ChainTestApiClient.Builder withThrowAfterMaxRetryAttempts(boolean throwAfterMaxRetryAttempts) -
defaultBuilder
-
build
-