WebTestPropertiesRequest Class
- java.
lang. Object - com.
azure. resourcemanager. applicationinsights. models. WebTestPropertiesRequest
- com.
Implements
public final class WebTestPropertiesRequest
implements JsonSerializable<WebTestPropertiesRequest>
The collection of request properties.
Constructor Summary
| Constructor | Description |
|---|---|
| WebTestPropertiesRequest() |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
followRedirects()
Get the follow |
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
|
List<Header |
headers()
Get the headers property: List of headers and their values to add to the Web |
| String |
httpVerb()
Get the http |
| Boolean |
parseDependentRequests()
Get the parse |
| String |
requestBody()
Get the request |
| String |
requestUrl()
Get the request |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Web |
withFollowRedirects(Boolean followRedirects)
Set the follow |
|
Web |
withHeaders(List<HeaderField> headers)
Set the headers property: List of headers and their values to add to the Web |
|
Web |
withHttpVerb(String httpVerb)
Set the http |
|
Web |
withParseDependentRequests(Boolean parseDependentRequests)
Set the parse |
|
Web |
withRequestBody(String requestBody)
Set the request |
|
Web |
withRequestUrl(String requestUrl)
Set the request |
Methods inherited from java.lang.Object
Constructor Details
WebTestPropertiesRequest
public WebTestPropertiesRequest()
Creates an instance of WebTestPropertiesRequest class.
Method Details
followRedirects
public Boolean followRedirects()
Get the followRedirects property: Follow redirects for this web test.
Returns:
fromJson
public static WebTestPropertiesRequest fromJson(JsonReader jsonReader)
Reads an instance of WebTestPropertiesRequest from the JsonReader.
Parameters:
Returns:
Throws:
headers
public List<HeaderField> headers()
Get the headers property: List of headers and their values to add to the WebTest call.
Returns:
httpVerb
public String httpVerb()
Get the httpVerb property: Http verb to use for this web test.
Returns:
parseDependentRequests
public Boolean parseDependentRequests()
Get the parseDependentRequests property: Parse Dependent request for this WebTest.
Returns:
requestBody
public String requestBody()
Get the requestBody property: Base64 encoded string body to send with this web test.
Returns:
requestUrl
public String requestUrl()
Get the requestUrl property: Url location to test.
Returns:
toJson
validate
public void validate()
Validates the instance.
withFollowRedirects
public WebTestPropertiesRequest withFollowRedirects(Boolean followRedirects)
Set the followRedirects property: Follow redirects for this web test.
Parameters:
Returns:
withHeaders
public WebTestPropertiesRequest withHeaders(List<HeaderField> headers)
Set the headers property: List of headers and their values to add to the WebTest call.
Parameters:
Returns:
withHttpVerb
public WebTestPropertiesRequest withHttpVerb(String httpVerb)
Set the httpVerb property: Http verb to use for this web test.
Parameters:
Returns:
withParseDependentRequests
public WebTestPropertiesRequest withParseDependentRequests(Boolean parseDependentRequests)
Set the parseDependentRequests property: Parse Dependent request for this WebTest.
Parameters:
Returns:
withRequestBody
public WebTestPropertiesRequest withRequestBody(String requestBody)
Set the requestBody property: Base64 encoded string body to send with this web test.
Parameters:
Returns:
withRequestUrl
public WebTestPropertiesRequest withRequestUrl(String requestUrl)
Set the requestUrl property: Url location to test.
Parameters:
Returns: