ResourceHttpRequest Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. ResourceHttpRequest
- com.
Implements
public final class ResourceHttpRequest
implements JsonSerializable<ResourceHttpRequest>
The details of the HTTP request.
Constructor Summary
Constructor | Description |
---|---|
ResourceHttpRequest() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
getClientIpAddress()
Get the client |
String |
getClientRequestId()
Get the client |
String |
getMethod()
Get the method property: The request method. |
String |
getUrl()
Get the url property: The url used in the request. |
Resource |
setClientIpAddress(String clientIpAddress)
Set the client |
Resource |
setClientRequestId(String clientRequestId)
Set the client |
Resource |
setMethod(String method)
Set the method property: The request method. |
Resource |
setUrl(String url)
Set the url property: The url used in the request. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ResourceHttpRequest
public ResourceHttpRequest()
Creates an instance of ResourceHttpRequest class.
Method Details
fromJson
public static ResourceHttpRequest fromJson(JsonReader jsonReader)
Reads an instance of ResourceHttpRequest from the JsonReader.
Parameters:
Returns:
Throws:
getClientIpAddress
public String getClientIpAddress()
Get the clientIpAddress property: The client IP address.
Returns:
getClientRequestId
public String getClientRequestId()
Get the clientRequestId property: The client request ID.
Returns:
getMethod
public String getMethod()
Get the method property: The request method.
Returns:
getUrl
public String getUrl()
Get the url property: The url used in the request.
Returns:
setClientIpAddress
public ResourceHttpRequest setClientIpAddress(String clientIpAddress)
Set the clientIpAddress property: The client IP address.
Parameters:
Returns:
setClientRequestId
public ResourceHttpRequest setClientRequestId(String clientRequestId)
Set the clientRequestId property: The client request ID.
Parameters:
Returns:
setMethod
public ResourceHttpRequest setMethod(String method)
Set the method property: The request method.
Parameters:
Returns:
setUrl
public ResourceHttpRequest setUrl(String url)
Set the url property: The url used in the request.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for