HTTP request preservation
AssigneeSap SE
InventorsNikolai Dokovski, Diyan Yordanov
Life of this patent
Estimating the term…
Abstract
The present disclosure involves systems, software, and computer implemented methods for preserving a Hypertext Transfer Protocol (HTTP) request. One process includes operations for receiving an HTTP request and generating request and response objects representing the HTTP request. Multiple child threads are generated and then executed at content providers to render content in response to the HTTP request. A first portion of the rendered content is transmitted, but the request and response objects are stored in memory and made accessible to content providers associated with pending child threads. The content providers associated with the pending child threads utilize the request and response objects to render a second portion of the content.
Claims21
A computer implemented method for causing one or more processors to preserve a Hypertext Transfer Protocol (HTTP) request, the method comprising the following steps performed by one or more processors:
- generating request and response objects in response to a received HTTP request, the request and response objects used in association with execution of at least one child thread of a main request thread;
- invoking an application based on the HTTP request;
- generating a plurality of child threads during execution of the application for identifying content in response to the HTTP request, the plurality of child threads being associated with the main request thread and each of the plurality of child threads remaining active until completed;
- executing the plurality of child threads at a plurality of different content providers;
- transmitting at least one HTTP response that includes at least a first portion of content in response to the HTTP request, the first portion of content associated with at least one of the plurality of content providers;
- preserving the request and response objects during execution of the plurality of child threads for access by at least one of the plurality of different content providers, wherein at least one of the plurality of child threads completes prior to the completion of the other child threads;
- releasing the request and response objects after a termination event associated with the plurality of child threads occurs, wherein each of the plurality of child threads is completed prior to releasing the request and response objects;
- and
- after prior transmission of the at least one HTTP response including the at least a first portion of content in response to the HTTP request, transmitting additional content generated by the plurality of different content providers associated with the preserved request and response objects in the at least one additional HTTP response in response to the HTTP request.
A computer program product encoded on a tangible storage medium, the product comprising computer readable instructions for causing one or more processors to perform operations comprising:
- generating request and response objects in response to a received HTTP request, the request and response objects used in association with execution of at least one child thread of a main request thread;
- invoking an application based on the HTTP request;
- generating a plurality of child threads during execution of the application for identifying content in response to the HTTP request, the plurality of child threads being associated with the main request thread and each of the plurality of child threads remaining active until completed;
- executing the plurality of child threads at a plurality of different content providers;
- transmitting at least one HTTP response that includes at least a first portion of content in response to the HTTP request, the first portion of content associated with at least one of the plurality of content providers;
- preserving the request and response objects during execution of the plurality of child threads for access by at least one of the plurality of different content providers, wherein at least one of the plurality of child threads completes prior to the completion of the other child threads;
- releasing the request and response objects after a termination event associated with the plurality of child threads occurs, wherein each of the plurality of child threads is completed prior to releasing the request and response objects;
- and
- after prior transmission of the at least one HTTP response including the at least a first portion of content in response to the HTTP request, transmitting additional content generated by the plurality of different content providers associated with the preserved request and response objects in at least one additional HTTP response in response to the HTTP request.
Dependencies are inferred from the claim text.