Class ServiceRequestAndResponse
- java.lang.Object
-
- cloud.filibuster.junit.server.core.profiles.ServiceRequestAndResponse
-
public class ServiceRequestAndResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServiceRequestAndResponse(com.google.protobuf.GeneratedMessageV3 request, io.grpc.Status status, com.google.protobuf.GeneratedMessageV3 response)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static ServiceRequestAndResponse
fromJsonObject(org.json.JSONObject jsonObject)
io.grpc.Status
getStatus()
int
hashCode()
boolean
isSuccess()
org.json.JSONObject
toJsonObject()
-
-
-
Method Detail
-
isSuccess
public boolean isSuccess()
-
getStatus
public io.grpc.Status getStatus()
-
toJsonObject
public org.json.JSONObject toJsonObject()
-
fromJsonObject
public static ServiceRequestAndResponse fromJsonObject(org.json.JSONObject jsonObject)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-