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 Details

    • getClientRequestId

      public String getClientRequestId()
      Get the clientRequestId property: The client request ID.
      Returns:
      the clientRequestId value.
    • getClientIpAddress

      public String getClientIpAddress()
      Get the clientIpAddress property: The client IP address.
      Returns:
      the clientIpAddress value.
    • getMethod

      public String getMethod()
      Get the method property: The request method.
      Returns:
      the method value.
    • getUrl

      public String getUrl()
      Get the url property: The url used in the request.
      Returns:
      the url value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ResourceHttpRequest>
      Throws:
      IOException
    • fromJson

      public static ResourceHttpRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.