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 booleanequals(java.lang.Object o)static ServiceRequestAndResponsefromJsonObject(org.json.JSONObject jsonObject)io.grpc.StatusgetStatus()inthashCode()booleanisSuccess()org.json.JSONObjecttoJsonObject()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-