Class RestCall
java.lang.Object
edu.university.ecs.lab.common.models.MethodCall
edu.university.ecs.lab.common.models.RestCall
- All Implemented Interfaces:
JsonSerializable
Represents an extension of a method call. A rest call exists at the service level and represents
a call to an endpoint mapping.
-
Constructor Summary
ConstructorDescriptionRestCall
(MethodCall methodCall, String url, HttpMethod httpMethod, String microserviceName) -
Method Summary
-
Constructor Details
-
RestCall
-
RestCall
-
-
Method Details
-
toJsonObject
public com.google.gson.JsonObject toJsonObject()- Specified by:
toJsonObject
in interfaceJsonSerializable
- Overrides:
toJsonObject
in classMethodCall
-