HTTPConfiguration Class
- java.
lang. Object - com.
microsoft. azure. management. network. HTTPConfiguration
- com.
public class HTTPConfiguration
HTTP configuration of the connectivity check.
Constructor Summary
Constructor | Description | |
---|---|---|
HTTPConfiguration() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<HTTPHeader> |
headers()
Get list of HTTP headers. |
HTTPMethod |
method()
Get hTTP method. |
java.util.List<java.lang.Integer> |
validStatusCodes()
Get valid status codes. |
HTTPConfiguration |
withHeaders(List<HTTPHeader> headers)
Set list of HTTP headers. |
HTTPConfiguration |
withMethod(HTTPMethod method)
Set hTTP method. |
HTTPConfiguration |
withValidStatusCodes(List<Integer> validStatusCodes)
Set valid status codes. |
Methods inherited from java.lang.Object
Constructor Details
HTTPConfiguration
public HTTPConfiguration()
Method Details
headers
public List
Get list of HTTP headers.
Returns:
method
public HTTPMethod method()
Get hTTP method. Possible values include: 'Get'.
Returns:
validStatusCodes
public List
Get valid status codes.
Returns:
withHeaders
public HTTPConfiguration withHeaders(List
Set list of HTTP headers.
Parameters:
Returns:
withMethod
public HTTPConfiguration withMethod(HTTPMethod method)
Set hTTP method. Possible values include: 'Get'.
Parameters:
Returns:
withValidStatusCodes
public HTTPConfiguration withValidStatusCodes(List
Set valid status codes.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor