CPC H04L 45/306 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0655 (2013.01); G06F 3/067 (2013.01); G06F 8/60 (2013.01); H04L 67/02 (2013.01); H04L 67/141 (2013.01); H04L 67/147 (2013.01)] | 18 Claims |
1. A system for use with a microservices or other computing environment, comprising:
a computer including one or more processors, that provides access to a microservices or other computing environment for use with software applications or services; and
wherein the system provides, via a header enumeration, an abstraction that allows message headers to be treated as objects, wherein:
a header object stores headers parsed from a request;
the header object is accessible via a name application program interface (API) and a value application program interface (API); and
the header enumeration is accessible via an application program interface that supports multiple communication protocols and allows clients and servers to communicate request and response messages using any of several supported protocols, including when a request message with a known header type is received and directed to a process, the system:
obtains a header name associated with the request via the name API;
accesses the enumeration to determine an indexed value associated with the request; and
accesses the header object via the value API to determine an associated data to be at least one or more of:
provided to the process to which the request is directed, or
cached until requested by the process or by another process.
|