Salesforce

Do HTTP Client objects need to be deleted?

« Go Back

Information

 
TitleDo HTTP Client objects need to be deleted?
URL NameDo-HTTP-Client-objects-need-to-be-deleted
Article Number000125391
EnvironmentProduct: OpenEdge
Version: 11.x, 12.x
OS: All supported platforms
Other: N/A
Question/Problem Description
Do HTTP Client objects need to be deleted? 
After sending the request and process the response with HTTP Client , is there anything else to do with the objects?
 
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
In general terms, the ABL HTTP client (in the OpenEdge.Net packages/namespace) is OOABL code and it subject to the same rules as any other OOABL objects and types.

A user (consumer) of the client and its request and response objects should treat them as they would any other 3rd-party OOABL library, and the rules for OOABL garbage collection apply - if a reference to an object is unused, it will be deleted. Consumers do not need to explicitly delete any of the objects, but if they do, there will be no bad consequences.
 
Workaround
Notes
Keyword Phrase
Last Modified Date3/9/2023 4:28 PM

Powered by