Package org.mockserver.model
Class JsonRpcBody
-
-
Constructor Summary
Constructors Constructor Description JsonRpcBody(String method)JsonRpcBody(String method, String paramsSchema)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetMethod()StringgetParamsSchema()StringgetValue()inthashCode()static JsonRpcBodyjsonRpc(String method)static JsonRpcBodyjsonRpc(String method, String paramsSchema)StringtoString()-
Methods inherited from class org.mockserver.model.Body
getCharset, getContentType, getOptional, getRawBytes, getType, withOptional
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
-
-
-
Method Detail
-
jsonRpc
public static JsonRpcBody jsonRpc(String method)
-
jsonRpc
public static JsonRpcBody jsonRpc(String method, String paramsSchema)
-
getMethod
public String getMethod()
-
getParamsSchema
public String getParamsSchema()
-
toString
public String toString()
- Overrides:
toStringin classObjectWithJsonToString
-
-