WebTestPropertiesRequest Class
- java.
lang. Object - com.
azure. resourcemanager. applicationinsights. models. WebTestPropertiesRequest
- com.
public final class 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 |
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 |
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:
headers
public List
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:
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
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for