public class NetworkCallRecord extends Object
| Constructor and Description |
|---|
NetworkCallRecord() |
| Modifier and Type | Method and Description |
|---|---|
NetworkCallError |
getException()
Gets the throwable thrown during evaluation of the network call.
|
Map<String,String> |
getHeaders()
Gets the HTTP headers for the network call.
|
String |
getMethod()
Gets the HTTP method for with this network call
|
Map<String,String> |
getResponse()
Gets the contents of the HTTP response as a map of its HTTP headers and response body.
|
String |
getUri()
Gets the URL for this network call.
|
void |
setException(NetworkCallError exception)
Sets the throwable thrown during evaluation of the network call.
|
void |
setHeaders(Map<String,String> headers)
Sets the HTTP headers for the network call.
|
void |
setMethod(String method)
Sets the HTTP method for with this network call
|
void |
setResponse(Map<String,String> response)
Sets the contents of the HTTP response as a map of its HTTP headers and response body.
|
void |
setUri(String uri)
Sets the URL for this network call.
|
public String getMethod()
public void setMethod(String method)
method - HTTP method for this network call.public String getUri()
public void setUri(String uri)
uri - The URL for this network call.public Map<String,String> getHeaders()
public void setHeaders(Map<String,String> headers)
headers - The HTTP headers for the network call.public Map<String,String> getResponse()
public void setResponse(Map<String,String> response)
response - Contents of the HTTP response.public NetworkCallError getException()
public void setException(NetworkCallError exception)
exception - Throwable thrown during the network call.Copyright © 2019 Microsoft Corporation. All rights reserved.