Class HTTPConfiguration
java.lang.Object
com.microsoft.azure.management.network.HTTPConfiguration
HTTP configuration of the connectivity check.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionheaders()
Get list of HTTP headers.method()
Get hTTP method.Get valid status codes.withHeaders
(List<HTTPHeader> headers) Set list of HTTP headers.withMethod
(HTTPMethod method) Set hTTP method.withValidStatusCodes
(List<Integer> validStatusCodes) Set valid status codes.
-
Constructor Details
-
HTTPConfiguration
public HTTPConfiguration()
-
-
Method Details
-
method
Get hTTP method. Possible values include: 'Get'.- Returns:
- the method value
-
withMethod
Set hTTP method. Possible values include: 'Get'.- Parameters:
method
- the method value to set- Returns:
- the HTTPConfiguration object itself.
-
headers
Get list of HTTP headers.- Returns:
- the headers value
-
withHeaders
Set list of HTTP headers.- Parameters:
headers
- the headers value to set- Returns:
- the HTTPConfiguration object itself.
-
validStatusCodes
Get valid status codes.- Returns:
- the validStatusCodes value
-
withValidStatusCodes
Set valid status codes.- Parameters:
validStatusCodes
- the validStatusCodes value to set- Returns:
- the HTTPConfiguration object itself.
-