Asynchronously reading http responses in separate process
AssigneeInternational Business Machines Corporation
InventorsJames V. Farmer, Mark R. Gambino, Daniel L. Yee
Life of this patent
Estimating the term…
Abstract
Technical solutions are described for reading HTTP responses in separate processes being executed by a client computing device. An example method includes sending an HTTP request from an application program executed by a first process, the HTTP request being sent for receipt by a server. The method further includes storing application identification associated with the HTTP request, and terminating the first process. The method further includes, in response to receiving a HTTP reply from the server, determining that the HTTP reply is corresponding to the HTTP request based on the application identification, and passing the HTTP reply to the application program.
Claims20
A computer-implemented method for reading HTTP responses in separate processes being executed by a client computing device, the method comprising:
- sending an HTTP request from an application program executed by a first process, the HTTP request being sent for receipt by a server;
- storing application identification associated with the HTTP request;
- terminating the first process;
- and
- in response to receiving a HTTP reply from the server:
- determining that the HTTP reply is corresponding to the HTTP request based on the application identification;
- and
- passing the HTTP reply to the application program.
A system comprising:
- a server;
- and
- a client device that communicates with the server using HTTP, the client device configured to read HTTP responses in separate processes being executed by the client device, the client device configured to:
- send an HTTP request from an application program executed by a first process, the HTTP request being sent for receipt by a server;
- store application identification associated with the HTTP request;
- terminate the first process;
- and
- in response to receiving a HTTP reply from the server:
- determine that the HTTP reply is corresponding to the HTTP request based on the application identification;
- and
- pass the HTTP reply to the application program.
A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing circuit of a client computing device to cause the processing circuit to read HTTP responses in separate processes, the processing circuit configured to perform:
- sending an HTTP request from an application program executed by a first process, the HTTP request being sent for receipt by a server;
- storing application identification associated with the HTTP request;
- terminating the first process;
- and
- in response to receiving a HTTP reply from the server:
- determining that the HTTP reply is corresponding to the HTTP request based on the application identification;
- and
- passing the HTTP reply to the application program.
Dependencies are inferred from the claim text.