Class RequestBody
java.lang.Object
org.qubership.atp.itf.lite.backend.model.entities.RequestBody
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRequestBody(String query, String variables, RequestBodyType type) Constructor RequestBody.RequestBody(String content, RequestBodyType type) RequestBody(List<FormDataPart> formDataBody, RequestBodyType type) RequestBody(FileBody fileBody, RequestBodyType type) -
Method Summary
Modifier and TypeMethodDescriptioncomposeGraphQlBody(String query, String variables) Compose GraphQl body.Equals type GraphQL and compute body and return content.voidCompute and set content.booleandetectAndFillGraphQlProperties(String content) Detect GraphQl value in content.getPostmanBody(FileData file) Collect Postman body and set file.voidupdateFromPostmanBody(PostmanBodyDto postmanBody) Update fields by type mode postman body.
-
Constructor Details
-
RequestBody
-
RequestBody
Constructor RequestBody. -
RequestBody
-
RequestBody
-
-
Method Details
-
getPostmanBody
Collect Postman body and set file. -
updateFromPostmanBody
Update fields by type mode postman body. -
detectAndFillGraphQlProperties
Detect GraphQl value in content. -
computeAndGetContent
Equals type GraphQL and compute body and return content. -
computeAndSetContent
public void computeAndSetContent()Compute and set content. -
composeGraphQlBody
Compose GraphQl body. -
composeGraphQlBody
-