IP Library Granted Patent US 8,725,834
Granted Patent B2
US 8,725,834 · App. 13/422,681 · Granted May 13, 2014

Access of resources by way of hypertext transfer protocol

Inventors: Ivaylo Iliev (Sofia, BG); Vencislav Dimitrov (Pernik, BG)
Assignee: SAP AG
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,725,834
App. No.
13/422,681
Granted
May 13, 2014
Kind
B2
Abstract

In an embodiment, a method is provided for accessing a resource. In this method, a HTTP request that defines an operation to be performed on an identified resource is received. The HTTP request is then parsed to extract an operation parameter from a header of the HTTP request. The HTTP request is executed based on the operation parameter to generate a result, and the result of the execution of the HTTP request is returned in an HTTP response.

Claims (33)

1. A method of accessing a resource, the method comprising:

receiving a Hypertext Transfer Protocol (HTTP) request that defines an operation to be performed on an identified resource;

parsing the HTTP request to extract an operation parameter from a header of the HTTP request, the HTTP request including a first line that invokes an HTTP method corresponding to the HTTP request and a second line that includes the header of the HTTP request;

executing the HTTP request based on the operation parameter to generate a result, the operation parameter modifying an invocation of the HTTP request; and

returning, in an HTTP response, the result of the execution of the HTTP request.

2. The method of claim 1 , wherein the HTTP request is to a resource-oriented Representational State Transfer (RESTful) web service.

3. The method of claim 1 , wherein the HTTP request is a GET method, wherein the identified resource is a folder that includes files, and wherein the operation parameter defines a format to package the files.

4. The method of claim 1 , wherein the HTTP request is a GET method, wherein the identified resource is a folder that includes files, and wherein the operation parameter defines a format to compress the files.

5. The method of claim 1 , wherein the HTTP request is a PUT method to store a compressed file included in a body of the HTTP request, and wherein the operation parameter defines a command to decompress the compressed file.

6. The method of claim 1 , wherein the HTTP request is a PUT method to store a compressed file included in a body of the HTTP request, and wherein the operation parameter defines an option to overwrite an existing file with the compressed file located in same directory path.

7. The method of claim 1 , wherein the HTTP request is a PUT method to store a compressed file included in a body of the HTTP request, and wherein the operation parameter defines an option to create a directory path to store the compressed file if the directory path is absent.

8. A non-transitory, machine-readable storage medium that stores instructions, which, when performed by a machine, cause the machine to perform operations comprising:

receiving a Hypertext Transfer Protocol (HTTP) request that defines an operation to be performed on an identified resource, the HTTP request including a first line that invokes an HTTP method corresponding to the HTTP request and a second line that includes the header of the HTTP request;

parsing the HTTP request to extract an operation parameter from a header of the HTTP request;

executing the HTTP request based on the operation parameter to generate a result, the operation parameter modifying an invocation of the HTTP request; and

returning, in an HTTP response, the result of the execution of the HTTP request.

9. The non-transitory, machine-readable storage medium of claim 8 , wherein the HTTP request is to a resource-oriented Representational State Transfer (RESTful) web service.

10. The non-transitory, machine-readable storage medium of claim 8 , wherein the HTTP request is a GET method, wherein the identified resource is a folder that includes files, and wherein the operation parameter defines a format to package the files.

11. The non-transitory, machine-readable storage medium of claim 8 , wherein the HTTP request is a GET method, wherein the identified resource is a folder that includes files, and wherein the operation parameter defines a format to compress the files.

12. The non-transitory, machine-readable storage medium of claim 8 , wherein the HTTP request is a PUT method to store a compressed file included in a body of the HTTP request, and wherein the operation parameter defines a command to decompress the compressed file.

13. The non-transitory, machine-readable storage medium of claim 8 , wherein the HTTP request is a PUT method to store a compressed file included in a body of the HTTP request, and wherein the operation parameter defines an option to overwrite an existing file with the compressed file located in same directory path.

14. The non-transitory, machine-readable storage medium of claim 8 , wherein the HTTP request is a PUT method to store a compressed file included in a body of the HTTP request, and wherein the operation parameter defines an option to create a directory path to store the compressed file if the directory path is absent.

15. A system comprising:

a Hypertext Transfer Protocol (HTTP) messaging module having instructions that when executed by at least one processor, cause operations to be performed, the operations comprising:

receiving an HTTP request that defines an operation to be performed on an identified resource; and

parsing the HTTP request to extract an operation parameter from a header of the HTTP request, the HTTP request including a first line that invokes an HTTP method corresponding to the HTTP request and a second line that includes the header of the HTTP request;

returning, in an HTTP response, a result of an execution of the HTTP request; and

an execution engine module having instructions that when executed by at least one processor, cause operations to be performed, the operations comprising executing the HTTP request based on the operation parameter to generate the result, the operation parameter modifying an invocation of the HTTP request.

16. The system of claim 15 , wherein the HTTP request is to a resource-oriented Representational State Transfer (RESTful) web service.

17. The system of claim 15 , wherein the HTTP request is a GET method, wherein the identified resource is a folder that includes files, and wherein the operation parameter defines a format to package the files.

18. The system of claim 15 , wherein the HTTP request is a PUT method to store a compressed file included in a body of the HTTP request, and wherein the operation parameter defines a command to decompress the compressed file.

19. The system of claim 15 , wherein the HTTP request is a PUT method to store a compressed file included in a body of the HTTP request, and wherein the operation parameter defines an option to overwrite an existing file with the compressed file located in same directory path.

20. The system of claim 15 , wherein the HTTP request is a PUT method to store a compressed file included in a body of the HTTP request, and wherein the operation parameter defines an option to create a directory path to store the compressed file if the directory path is absent.

Assignments (2)
CHANGE OF NAME Recorded Aug 26, 2014
From: SAP AG
To: SAP SE
Reel/Frame 033625/0334 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 16, 2012
From: ILIEV, IVAYLO; DIMITROV, VENCISLAV
To: SAP AG
Reel/Frame 027879/0623 →
Continuity (1)
Related Publication 20130246646A1 · Sep 19, 2013