Moduleurn:org:ten60:netkernel:tpt:http
The
HTTPCookie
accessor is exported by the urn:org:ten60:netkernel:tpt:http module.
Import this module to gain access to the accessor.
Syntax
| Argument | Rules | Description | | operand | Mandatory | for get this is this:param:cookie, for set this is the resource to attach the cookie to. | | operator | Mandatory | the cookie argument | | param | Optional | [Set Only]An XML cookie to be set |
Example UsageDPML<instr> <type>HTTPCookie</type> <operand>this:param:cookie</operand> <operator> <cookie> <get>myCookie</get> </cookie> </operator> <target>var:cookie</target> </instr> NetKernel Foundation API
req=context.createSubRequest("active:HTTPCookie");
req.addArgument("operand", [resource representation, aspect, or URI] );
req.addArgument("operator", [resource representation, aspect, or URI] );
result=context.issueSubRequest(req);Purpose |