azure-docs-sdk-java/docs-ref-autogen/com.azure.core.test.http.Mo...

51 строка
3.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.test.http.MockHttpClient"
fullName: "com.azure.core.test.http.MockHttpClient"
name: "MockHttpClient"
nameWithType: "MockHttpClient"
summary: "This Http<wbr>Client attempts to mimic the behavior of http://httpbin.<wbr>org without ever making a network call."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.test.http.NoOpHttpClient?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.test.http.NoOpHttpClient?alt=com.azure.core.test.http.NoOpHttpClient&text=NoOpHttpClient\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.test.http.NoOpHttpClient.send(com.azure.core.http.HttpRequest)?alt=com.azure.core.test.http.NoOpHttpClient.send&text=send\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **MockHttpClient**</br> extends <xref href=\"com.azure.core.test.http.NoOpHttpClient?alt=com.azure.core.test.http.NoOpHttpClient&text=NoOpHttpClient\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.core.test.http.MockHttpClient.MockHttpClient()"
fullName: "com.azure.core.test.http.MockHttpClient.MockHttpClient()"
name: "MockHttpClient()"
nameWithType: "MockHttpClient.MockHttpClient()"
syntax: "public MockHttpClient()"
methods:
- uid: "com.azure.core.test.http.MockHttpClient.send(com.azure.core.http.HttpRequest)"
fullName: "com.azure.core.test.http.MockHttpClient.send(HttpRequest request)"
name: "send(HttpRequest request)"
nameWithType: "MockHttpClient.send(HttpRequest request)"
overridden: "com.azure.core.test.http.NoOpHttpClient.send(com.azure.core.http.HttpRequest)"
parameters:
- name: "request"
type: "<xref href=\"com.azure.core.http.HttpRequest?alt=com.azure.core.http.HttpRequest&text=HttpRequest\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Mono<HttpResponse> send(HttpRequest request)"
returns:
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a>&lt;<xref href=\"com.azure.core.http.HttpResponse?alt=com.azure.core.http.HttpResponse&text=HttpResponse\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "This HttpClient attempts to mimic the behavior of http://httpbin.org without ever making a network call."
metadata: {}
package: "com.azure.core.test.http"
artifact: com.azure:azure-core-test:1.26.2