public class NetworkCallRecord extends Object
| Constructor and Description |
|---|
NetworkCallRecord() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
headers()
Gets the HTTP headers for the network call.
|
void |
headers(Map<String,String> headers)
Sets the HTTP headers for the network call.
|
String |
method()
Gets the HTTP method for with this network call
|
void |
method(String method)
Sets the HTTP method for with this network call
|
Map<String,String> |
response()
Gets the contents of the HTTP response as a map of its HTTP headers and response body.
|
void |
response(Map<String,String> response)
Sets the contents of the HTTP response as a map of its HTTP headers and response body.
|
String |
uri()
Gets the URL for this network call.
|
void |
uri(String uri)
Sets the URL for this network call.
|
public String method()
public void method(String method)
method - HTTP method for this network call.public String uri()
public void uri(String uri)
uri - The URL for this network call.public Map<String,String> headers()
public void headers(Map<String,String> headers)
headers - The HTTP headers for the network call.public Map<String,String> response()
Copyright © 2019 Microsoft Corporation. All rights reserved.