|
NameOpenXPKI::Client::UI::RequestDescriptionThis class is used to hold the input data received as from the webserver and provides a transparent interface to the application to retrieve parameter values regardless which transport format was used.If the data was POSTed as JSON blob, the parameters are already expanded with the values in the cache hash. If data was send via a CGI method (either form-encoded or GET), the cache hash holds the keys and the value undef and the parameter expansion is done on the first request to "param". MethodsparamRetrieves the value(s) of the named parameter.The "param" method will not try to guess the type of the attribute, the requestor must use "multi_param" or call "param" in list context to retrieve a multi-valued attribute. As the CGI transport does not provide information on the character of the attribute, the class always tries to translate items from scalar to list and vice-versa. multi_paramRetrieves the named parameter but enforces list context.
Visit the GSP FreeBSD Man Page Interface. |