Client-side API framework for uniform resource identifier (URI) manipulations
First Claim
1. A computer-implemented method for manipulating a uniform resource identifier (URI), the method comprising:
- receiving, at a processing system, an input string, wherein the input string includes at least one rewritten URI string that has been rewritten from an original URI string form;
interacting, at the processing system, with a plurality of URI rewriters to select a URI rewriter, wherein the interacting includes;
calling a function associated with each of the plurality of URI rewriters,receiving a response from a first URI rewriter indicating that the first URI rewriter recognizes a format of the at least one rewritten URI string based on the first URI rewriter executing the function,determining that the first URI rewriter is operable to parse the at least one rewritten URI string, andselecting the first URI rewriter among the plurality of URI rewriters;
providing the at least one rewritten URI string to the selected URI rewriter, wherein the selected URI rewriter parses the at least one rewritten URI string to generate a URI manipulator corresponding to the at least one rewritten URI string, wherein the URI manipulator is configured to return at least one URI string associated with the at least one rewritten URI string, wherein the at least one URI string is in the original URI string form; and
performing, at the processing system, one or more operations on portions of the at least one URI string in the original URI string form using the URI manipulator.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for manipulating URIs that have been rewritten for XmlHttpRequests (XHRs) and/or Web Services for Remote Portlets (WSRP). In one set of embodiments, a URI rewriter factory module is provided that is configured to determine and select a URI rewriter module based upon an input URI string. The input URI string may be, for example, in the form of a Javascript pseudo-protocol link, a remote proxy URI, or both. The selected URI rewriter module can then parse the input URI string to generate a URI object that has methods for manipulating the input URI string and for outputting the resulting manipulated URI as a string.
25 Citations
19 Claims
-
1. A computer-implemented method for manipulating a uniform resource identifier (URI), the method comprising:
-
receiving, at a processing system, an input string, wherein the input string includes at least one rewritten URI string that has been rewritten from an original URI string form; interacting, at the processing system, with a plurality of URI rewriters to select a URI rewriter, wherein the interacting includes; calling a function associated with each of the plurality of URI rewriters, receiving a response from a first URI rewriter indicating that the first URI rewriter recognizes a format of the at least one rewritten URI string based on the first URI rewriter executing the function, determining that the first URI rewriter is operable to parse the at least one rewritten URI string, and selecting the first URI rewriter among the plurality of URI rewriters; providing the at least one rewritten URI string to the selected URI rewriter, wherein the selected URI rewriter parses the at least one rewritten URI string to generate a URI manipulator corresponding to the at least one rewritten URI string, wherein the URI manipulator is configured to return at least one URI string associated with the at least one rewritten URI string, wherein the at least one URI string is in the original URI string form; and performing, at the processing system, one or more operations on portions of the at least one URI string in the original URI string form using the URI manipulator. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory computer-readable storage medium storing a plurality of instructions for manipulating a uniform resource identifier (URI), the plurality of instructions comprising:
-
instructions that cause the processor to receive an input string, wherein the input string includes at least one rewritten URI string that has been rewritten from an original URI string form; instructions that cause the processor to interact with a plurality of URI rewriters to select a URI rewriter, wherein the instructions cause the processor to call a function associated with each of the plurality of URI rewriters, receive a response from a first URI rewriter indicating that the first URI rewriter recognizes a format of the at least one rewritten URI string based on the first URI rewriter executing the function, determine that the first URI rewriter is operable to parse the at least one rewritten URI string, and select the first URI rewriter among the plurality of URI rewriters; instructions that cause the processor to provide the at least one rewritten URI string to the selected URI rewriter, wherein the selected URI rewriter parses the at least one rewritten URI string to generate a URI manipulator corresponding to the at least one rewritten URI string, wherein the URI manipulator is configured to return at least one URI string associated with the at least one rewritten URI string, wherein the at least one URI string is in the original URI string form; and instructions that cause the processor to perform one or more operations on portions of the at least one URI string in the original URI string form using the URI manipulator. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A system for manipulating a uniform resource identifier (URI), the system comprising:
-
a memory configured to store an input string; and a processor coupled to the memory, wherein the processor is configured to; receive an input string, wherein the input string includes at least one rewritten URI string that has been rewritten from an original URI string form; interact with a plurality of URI rewriters to select a URI rewriter, wherein the processor is configured to; call a function associated with each of the plurality of URI rewriters, receive a response from a first URI rewriter indicating that the first URI rewriter recognizes a format of the at least one rewritten URI string based on the first URI rewriter executing the function, determine that the first URI rewriter is operable to parse the at least one rewritten URI string, and select the first URI rewriter among the plurality of URI rewriters; provide the at least one rewritten URI string to the selected URI rewriter, wherein the selected URI rewriter parses the at least one rewritten URI string to generate a URI manipulator corresponding to the at least one rewritten URI string, wherein the URI manipulator is configured to return at least one URI string associated with the at least one rewritten URI string, wherein the at least one URI string is in the original URI string form; and perform one or more operations on portions of the at least one URI string in the original URI string form using the URI manipulator.
-
Specification