Class ResourceHttpRequest
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ResourceHttpRequest
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceHttpRequest>
public final class ResourceHttpRequest
extends Object
implements com.azure.json.JsonSerializable<ResourceHttpRequest>
The details of the HTTP request.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceHttpRequestfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourceHttpRequest from the JsonReader.Get the clientIpAddress property: The client IP address.Get the clientRequestId property: The client request ID.Get the method property: The request method.getUrl()Get the url property: The url used in the request.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getClientRequestId
Get the clientRequestId property: The client request ID.- Returns:
- the clientRequestId value.
-
getClientIpAddress
Get the clientIpAddress property: The client IP address.- Returns:
- the clientIpAddress value.
-
getMethod
Get the method property: The request method.- Returns:
- the method value.
-
getUrl
Get the url property: The url used in the request.- Returns:
- the url value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResourceHttpRequest>- Throws:
IOException
-
fromJson
Reads an instance of ResourceHttpRequest from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResourceHttpRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ResourceHttpRequest.
-