2023-10-26 09:36:32 +03:00
|
|
|
### 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:
|
2024-08-08 08:04:37 +03:00
|
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.core.http.HttpResponse?alt=com.azure.core.http.HttpResponse&text=HttpResponse\" data-throw-if-not-resolved=\"False\" />>"
|
2023-10-26 09:36:32 +03:00
|
|
|
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"
|
2024-08-03 07:58:45 +03:00
|
|
|
artifact: com.azure:azure-core-test:1.26.2
|