Class HttpRequestEntitySaveRequest
java.lang.Object
org.qubership.atp.itf.lite.backend.model.api.request.RequestEntitySaveRequest
org.qubership.atp.itf.lite.backend.model.api.request.HttpRequestEntitySaveRequest
- All Implemented Interfaces:
Serializable,ResolvableRequest
- See Also:
-
Field Summary
Fields inherited from class org.qubership.atp.itf.lite.backend.model.api.request.RequestEntitySaveRequest
authorization -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollect PostmanPostmanRequestDto model.getPostmanUrlPath(PostmanUrlDto postmanUrlDto) Convert to string path by PostmanUrlDto.Returns string represents not encoded url with query parameters.voidBrings the requester to its normal form.voidresolveTemplates(Function<String, String> evaluateFunction) voidupdateFromPostmanRequest(PostmanPostmanRequestDto postmanRequest) Update fields by PostmanPostmanRequestDto model.
-
Constructor Details
-
HttpRequestEntitySaveRequest
public HttpRequestEntitySaveRequest()
-
-
Method Details
-
resolveTemplates
- Specified by:
resolveTemplatesin interfaceResolvableRequest- Specified by:
resolveTemplatesin classRequestEntitySaveRequest
-
getUrlWithQueryParameters
Returns string represents not encoded url with query parameters.
Url is not encoded as it could be a potentially invalid url.
If you are sure that the url is valid, it is better to useRequestUtils.buildRequestWithParameters(java.lang.String, java.util.List<? extends org.qubership.atp.itf.lite.backend.model.api.Parameter>)instead of this one -
normalize
public void normalize()Description copied from class:RequestEntitySaveRequestBrings the requester to its normal form. Removes extra spaces.- Specified by:
normalizein classRequestEntitySaveRequest
-
getPostmanRequest
Collect PostmanPostmanRequestDto model.- Specified by:
getPostmanRequestin classRequestEntitySaveRequest
-
updateFromPostmanRequest
Update fields by PostmanPostmanRequestDto model.- Specified by:
updateFromPostmanRequestin classRequestEntitySaveRequest
-
getPostmanUrlPath
Convert to string path by PostmanUrlDto.
-