Interface HttpExecuteRequest.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()contentStreamProvider(ContentStreamProvider contentStreamProvider) Set theContentStreamProviderto be executed by the client.metricCollector(MetricCollector metricCollector) Set theMetricCollectorto be used by the HTTP client to report metrics collected for this request.request(SdkHttpRequest request) Set the HTTP request to be executed by the client.
-
Method Details
-
request
Set the HTTP request to be executed by the client.- Parameters:
request- The request.- Returns:
- This builder for method chaining.
-
contentStreamProvider
Set theContentStreamProviderto be executed by the client.- Parameters:
contentStreamProvider- The content stream provider- Returns:
- This builder for method chaining
-
metricCollector
Set theMetricCollectorto be used by the HTTP client to report metrics collected for this request.- Parameters:
metricCollector- The metric collector.- Returns:
- This builder for method chaining.
-
build
HttpExecuteRequest build()
-