Uses of Class
com.basistech.rosette.api.HttpRosetteAPI.Builder
-
Uses of HttpRosetteAPI.Builder in com.basistech.rosette.api
Modifier and TypeMethodDescriptionHttpRosetteAPI.Builder.additionalHeader
(String name, String value) Specify an additional header value to include in all requests.HttpRosetteAPI.Builder.connectionConcurrency
(Integer concurrency) The maximum number of concurrent requests that may be in progress.HttpRosetteAPI.Builder.failureRetries
(Integer failureRetries) How many times to retry 5xx errors from the service.HttpRosetteAPI.Builder.httpClient
(org.apache.http.impl.client.CloseableHttpClient httpClient) The Apache HTTP components client object to use for communications with the service.Specify the API key.HttpRosetteAPI.Builder.onlyAcceptKnownFields
(boolean onlyAcceptKnownFields) Only process the response from server if all fields are recognized.Specify the URL for the service.