Request Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Request
- com.
Implements
public final class Request
implements JsonSerializable<Request>
A request.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Request |
fromJson(JsonReader jsonReader)
Reads an instance of Request from the Json |
| Object |
headers()
Get the headers property: A list of all the headers attached to the request. |
| String |
method()
Get the method property: The HTTP method used for the request. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uri()
Get the uri property: The destination for the request. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static Request fromJson(JsonReader jsonReader)
Reads an instance of Request from the JsonReader.
Parameters:
Returns:
Throws:
headers
public Object headers()
Get the headers property: A list of all the headers attached to the request.
Returns:
method
public String method()
Get the method property: The HTTP method used for the request.
Returns:
toJson
uri
public String uri()
Get the uri property: The destination for the request.
Returns:
validate
public void validate()
Validates the instance.