141 строка
9.1 KiB
YAML
141 строка
9.1 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.test.models.NetworkCallRecord"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord"
|
|
name: "NetworkCallRecord"
|
|
nameWithType: "NetworkCallRecord"
|
|
summary: "Keeps track of network call records from each unit test session."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- 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 **NetworkCallRecord**"
|
|
constructors:
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.NetworkCallRecord()"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.NetworkCallRecord()"
|
|
name: "NetworkCallRecord()"
|
|
nameWithType: "NetworkCallRecord.NetworkCallRecord()"
|
|
syntax: "public NetworkCallRecord()"
|
|
methods:
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.getException()"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.getException()"
|
|
name: "getException()"
|
|
nameWithType: "NetworkCallRecord.getException()"
|
|
summary: "Gets the throwable thrown during evaluation of the network call."
|
|
syntax: "public NetworkCallError getException()"
|
|
desc: "Gets the throwable thrown during evaluation of the network call."
|
|
returns:
|
|
description: "Throwable thrown during the network call."
|
|
type: "<xref href=\"com.azure.core.test.models.NetworkCallError?alt=com.azure.core.test.models.NetworkCallError&text=NetworkCallError\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.getHeaders()"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.getHeaders()"
|
|
name: "getHeaders()"
|
|
nameWithType: "NetworkCallRecord.getHeaders()"
|
|
summary: "Gets the HTTP headers for the network call."
|
|
syntax: "public Map<String,String> getHeaders()"
|
|
desc: "Gets the HTTP headers for the network call."
|
|
returns:
|
|
description: "The HTTP headers for the network call."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.getMethod()"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.getMethod()"
|
|
name: "getMethod()"
|
|
nameWithType: "NetworkCallRecord.getMethod()"
|
|
summary: "Gets the HTTP method for with this network call"
|
|
syntax: "public String getMethod()"
|
|
desc: "Gets the HTTP method for with this network call"
|
|
returns:
|
|
description: "The HTTP method."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.getResponse()"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.getResponse()"
|
|
name: "getResponse()"
|
|
nameWithType: "NetworkCallRecord.getResponse()"
|
|
summary: "Gets the contents of the HTTP response as a map of its HTTP headers and response body."
|
|
syntax: "public Map<String,String> getResponse()"
|
|
desc: "Gets the contents of the HTTP response as a map of its HTTP headers and response body. The HTTP response body is mapped under key \"Body\"."
|
|
returns:
|
|
description: "Contents of the HTTP response."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.getUri()"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.getUri()"
|
|
name: "getUri()"
|
|
nameWithType: "NetworkCallRecord.getUri()"
|
|
summary: "Gets the URL for this network call."
|
|
syntax: "public String getUri()"
|
|
desc: "Gets the URL for this network call."
|
|
returns:
|
|
description: "The URL for this network call."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.setException(com.azure.core.test.models.NetworkCallError)"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.setException(NetworkCallError exception)"
|
|
name: "setException(NetworkCallError exception)"
|
|
nameWithType: "NetworkCallRecord.setException(NetworkCallError exception)"
|
|
summary: "Sets the throwable thrown during evaluation of the network call."
|
|
parameters:
|
|
- description: "Throwable thrown during the network call."
|
|
name: "exception"
|
|
type: "<xref href=\"com.azure.core.test.models.NetworkCallError?alt=com.azure.core.test.models.NetworkCallError&text=NetworkCallError\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public void setException(NetworkCallError exception)"
|
|
desc: "Sets the throwable thrown during evaluation of the network call."
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.setHeaders(java.util.Map<java.lang.String,java.lang.String>)"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.setHeaders(Map<String,String> headers)"
|
|
name: "setHeaders(Map<String,String> headers)"
|
|
nameWithType: "NetworkCallRecord.setHeaders(Map<String,String> headers)"
|
|
summary: "Sets the HTTP headers for the network call."
|
|
parameters:
|
|
- description: "The HTTP headers for the network call."
|
|
name: "headers"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public void setHeaders(Map<String,String> headers)"
|
|
desc: "Sets the HTTP headers for the network call."
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.setMethod(java.lang.String)"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.setMethod(String method)"
|
|
name: "setMethod(String method)"
|
|
nameWithType: "NetworkCallRecord.setMethod(String method)"
|
|
summary: "Sets the HTTP method for with this network call"
|
|
parameters:
|
|
- description: "HTTP method for this network call."
|
|
name: "method"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public void setMethod(String method)"
|
|
desc: "Sets the HTTP method for with this network call"
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.setResponse(java.util.Map<java.lang.String,java.lang.String>)"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.setResponse(Map<String,String> response)"
|
|
name: "setResponse(Map<String,String> response)"
|
|
nameWithType: "NetworkCallRecord.setResponse(Map<String,String> response)"
|
|
summary: "Sets the contents of the HTTP response as a map of its HTTP headers and response body."
|
|
parameters:
|
|
- description: "Contents of the HTTP response."
|
|
name: "response"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public void setResponse(Map<String,String> response)"
|
|
desc: "Sets the contents of the HTTP response as a map of its HTTP headers and response body. The HTTP response body is mapped under key \"body\"."
|
|
- uid: "com.azure.core.test.models.NetworkCallRecord.setUri(java.lang.String)"
|
|
fullName: "com.azure.core.test.models.NetworkCallRecord.setUri(String uri)"
|
|
name: "setUri(String uri)"
|
|
nameWithType: "NetworkCallRecord.setUri(String uri)"
|
|
summary: "Sets the URL for this network call."
|
|
parameters:
|
|
- description: "The URL for this network call."
|
|
name: "uri"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public void setUri(String uri)"
|
|
desc: "Sets the URL for this network call."
|
|
type: "class"
|
|
desc: "Keeps track of network call records from each unit test session."
|
|
metadata: {}
|
|
package: "com.azure.core.test.models"
|
|
artifact: com.azure:azure-core-test:1.26.2
|