WebTestPropertiesRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesRequest

public final class WebTestPropertiesRequest

The collection of request properties.

Constructor Summary

Constructor Description
WebTestPropertiesRequest()

Creates an instance of WebTestPropertiesRequest class.

Method Summary

Modifier and Type Method and Description
Boolean followRedirects()

Get the followRedirects property: Follow redirects for this web test.

List<HeaderField> headers()

Get the headers property: List of headers and their values to add to the WebTest call.

String httpVerb()

Get the httpVerb property: Http verb to use for this web test.

Boolean parseDependentRequests()

Get the parseDependentRequests property: Parse Dependent request for this WebTest.

String requestBody()

Get the requestBody property: Base64 encoded string body to send with this web test.

String requestUrl()

Get the requestUrl property: Url location to test.

void validate()

Validates the instance.

WebTestPropertiesRequest withFollowRedirects(Boolean followRedirects)

Set the followRedirects property: Follow redirects for this web test.

WebTestPropertiesRequest withHeaders(List<HeaderField> headers)

Set the headers property: List of headers and their values to add to the WebTest call.

WebTestPropertiesRequest withHttpVerb(String httpVerb)

Set the httpVerb property: Http verb to use for this web test.

WebTestPropertiesRequest withParseDependentRequests(Boolean parseDependentRequests)

Set the parseDependentRequests property: Parse Dependent request for this WebTest.

WebTestPropertiesRequest withRequestBody(String requestBody)

Set the requestBody property: Base64 encoded string body to send with this web test.

WebTestPropertiesRequest withRequestUrl(String requestUrl)

Set the requestUrl property: Url location to test.

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:

the followRedirects value.

headers

public List headers()

Get the headers property: List of headers and their values to add to the WebTest call.

Returns:

the headers value.

httpVerb

public String httpVerb()

Get the httpVerb property: Http verb to use for this web test.

Returns:

the httpVerb value.

parseDependentRequests

public Boolean parseDependentRequests()

Get the parseDependentRequests property: Parse Dependent request for this WebTest.

Returns:

the parseDependentRequests value.

requestBody

public String requestBody()

Get the requestBody property: Base64 encoded string body to send with this web test.

Returns:

the requestBody value.

requestUrl

public String requestUrl()

Get the requestUrl property: Url location to test.

Returns:

the requestUrl value.

validate

public void validate()

Validates the instance.

withFollowRedirects

public WebTestPropertiesRequest withFollowRedirects(Boolean followRedirects)

Set the followRedirects property: Follow redirects for this web test.

Parameters:

followRedirects - the followRedirects value to set.

Returns:

the WebTestPropertiesRequest object itself.

withHeaders

public WebTestPropertiesRequest withHeaders(List headers)

Set the headers property: List of headers and their values to add to the WebTest call.

Parameters:

headers - the headers value to set.

Returns:

the WebTestPropertiesRequest object itself.

withHttpVerb

public WebTestPropertiesRequest withHttpVerb(String httpVerb)

Set the httpVerb property: Http verb to use for this web test.

Parameters:

httpVerb - the httpVerb value to set.

Returns:

the WebTestPropertiesRequest object itself.

withParseDependentRequests

public WebTestPropertiesRequest withParseDependentRequests(Boolean parseDependentRequests)

Set the parseDependentRequests property: Parse Dependent request for this WebTest.

Parameters:

parseDependentRequests - the parseDependentRequests value to set.

Returns:

the WebTestPropertiesRequest object itself.

withRequestBody

public WebTestPropertiesRequest withRequestBody(String requestBody)

Set the requestBody property: Base64 encoded string body to send with this web test.

Parameters:

requestBody - the requestBody value to set.

Returns:

the WebTestPropertiesRequest object itself.

withRequestUrl

public WebTestPropertiesRequest withRequestUrl(String requestUrl)

Set the requestUrl property: Url location to test.

Parameters:

requestUrl - the requestUrl value to set.

Returns:

the WebTestPropertiesRequest object itself.

Applies to