Patent ID: 9723078
Date: 2017-08-01
CPC Classifications: H04L

Claim:
1. A computer-implemented method comprising: receiving, by a computer processor and via a web browser, a first request to change a web resource in a stateless representational state transfer (REST)-compliant software architecture; in response to receiving the first request, retrieving, by the computer processor, a representation of the web resource in an original state from a server; storing, by the computer processor, the representation of the web resource in the original state in a storage local to the web browser; changing, by the computer processor, the web resource on the server to a modified state according to the first request subsequent to retrieving and storing the representation of the web resource in the original state; receiving, by the computer processor, a second request to restore the web resource on the server from the modified state to the original state; in response to receiving the second request, restoring, by the computer processor, the web resource to the original state by sending the locally stored representation of the web resource in the original state to the server after the web resource in the stateless REST-compliant software architecture and residing on the server has been changed to the modified state; and wherein the web resource is housed in a Content Repository Application Programming Interface for Java (JCR) in the stateless REST-compliant software architecture, and wherein the stateless REST-compliant software architecture does not preserve a context of the user, including the original state of the web resource, when the web resource is changed to the modified state.