public static interface HttpExecuteRequest.Builder
Modifier and Type | Method and Description |
---|---|
HttpExecuteRequest |
build() |
HttpExecuteRequest.Builder |
contentStreamProvider(ContentStreamProvider contentStreamProvider)
Set the
ContentStreamProvider to be executed by the client. |
HttpExecuteRequest.Builder |
metricCollector(MetricCollector metricCollector)
Set the
MetricCollector to be used by the HTTP client to
report metrics collected for this request. |
HttpExecuteRequest.Builder |
request(SdkHttpRequest request)
Set the HTTP request to be executed by the client.
|
HttpExecuteRequest.Builder request(SdkHttpRequest request)
request
- The request.HttpExecuteRequest.Builder contentStreamProvider(ContentStreamProvider contentStreamProvider)
ContentStreamProvider
to be executed by the client.contentStreamProvider
- The content stream providerHttpExecuteRequest.Builder metricCollector(MetricCollector metricCollector)
MetricCollector
to be used by the HTTP client to
report metrics collected for this request.metricCollector
- The metric collector.HttpExecuteRequest build()
Copyright © 2022. All rights reserved.