42 строки
3.6 KiB
YAML
42 строки
3.6 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.http.HttpClientProvider"
|
|
fullName: "com.azure.core.http.HttpClientProvider"
|
|
name: "HttpClientProvider"
|
|
nameWithType: "HttpClientProvider"
|
|
summary: "An interface to be implemented by any azure-core plugin that wishes to provide an alternate <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> implementation."
|
|
syntax: "public interface **HttpClientProvider**"
|
|
methods:
|
|
- uid: "com.azure.core.http.HttpClientProvider.createInstance()"
|
|
fullName: "com.azure.core.http.HttpClientProvider.createInstance()"
|
|
name: "createInstance()"
|
|
nameWithType: "HttpClientProvider.createInstance()"
|
|
summary: "Creates a new instance of the <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> that this Http<wbr>Client<wbr>Provider is configured to create."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract HttpClient createInstance()"
|
|
desc: "Creates a new instance of the <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> that this HttpClientProvider is configured to create."
|
|
returns:
|
|
description: "A new <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> instance, entirely unrelated to all other instances that were created\n previously."
|
|
type: "<xref href=\"com.azure.core.http.HttpClient?alt=com.azure.core.http.HttpClient&text=HttpClient\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.http.HttpClientProvider.createInstance(com.azure.core.util.HttpClientOptions)"
|
|
fullName: "com.azure.core.http.HttpClientProvider.createInstance(HttpClientOptions clientOptions)"
|
|
name: "createInstance(HttpClientOptions clientOptions)"
|
|
nameWithType: "HttpClientProvider.createInstance(HttpClientOptions clientOptions)"
|
|
summary: "Creates a new instance of the <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> that this Http<wbr>Client<wbr>Provider is configured to create."
|
|
modifiers:
|
|
- "default"
|
|
parameters:
|
|
- description: "Configuration options applied to the created <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref>."
|
|
name: "clientOptions"
|
|
type: "<xref href=\"com.azure.core.util.HttpClientOptions?alt=com.azure.core.util.HttpClientOptions&text=HttpClientOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public default HttpClient createInstance(HttpClientOptions clientOptions)"
|
|
desc: "Creates a new instance of the <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> that this HttpClientProvider is configured to create."
|
|
returns:
|
|
description: "A new <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> instance, entirely unrelated to all other instances that were created\n previously."
|
|
type: "<xref href=\"com.azure.core.http.HttpClient?alt=com.azure.core.http.HttpClient&text=HttpClient\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "interface"
|
|
desc: "An interface to be implemented by any azure-core plugin that wishes to provide an alternate <xref uid=\"com.azure.core.http.HttpClient\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpClient\"></xref> implementation."
|
|
metadata: {}
|
|
package: "com.azure.core.http"
|
|
artifact: com.azure:azure-core:1.52.0
|