Returns the object stored in the request with the name of the indicated attribute.
 

1 http.request.getAttributeNames

<http.request.getAttributeNames />
Example

To obtain an attribute of the request, first it must be created. Two name attribute of id and name are created with tha values 3 and 'This is my name' respectively. To check the function, it is asked to show the names of the existing requests.

Copy
<xsql-script name='http_connection_getAttr'>
    <body>
        <http.request.setAttribute name='id'>
            3
        </http.request.setAttribute>
        <http.request.setAttribute name='name'>
            This is my name
        </http.request.setAttribute>
        <println>    
            <http.request.getAttributeNames/>
        </println>
    </body>
</xsql-script>