This Class represent a single custom header field which will be used by javascript. More...
Public Member Functions | |
string | getKey () |
The header key field More... | |
string | getUserAgents () |
The user agents this applies to More... | |
string | getValue () |
The header value More... | |
nCustomHeader (string key, string value, string userAgents) | |
A custom header deceleration for javascript. More... | |
void | setMyUserAgents (string myUserAgents) |
Sets the user agents this header field will apply to More... | |
void | setMyValue (string value) |
Sets the value for the header field More... | |
This Class represent a single custom header field which will be used by javascript.
com.pcbsys.nirvana.nAdminAPI.nCustomHeader.nCustomHeader | ( | string | key, |
string | value, | ||
string | userAgents | ||
) |
A custom header deceleration for javascript.
key | the header value |
value | the header value (optional) |
userAgents | set this to '*' if you wish this to apply to all javascript communications or a comma separated list of specific user agents |
nIllegalArgumentException | if the key is less than 1 character |
string com.pcbsys.nirvana.nAdminAPI.nCustomHeader.getKey | ( | ) |
The header key field
string com.pcbsys.nirvana.nAdminAPI.nCustomHeader.getUserAgents | ( | ) |
The user agents this applies to
string com.pcbsys.nirvana.nAdminAPI.nCustomHeader.getValue | ( | ) |
The header value
void com.pcbsys.nirvana.nAdminAPI.nCustomHeader.setMyUserAgents | ( | string | myUserAgents | ) |
Sets the user agents this header field will apply to
myUserAgents | sets the user agents this applies (* for all agents) |
void com.pcbsys.nirvana.nAdminAPI.nCustomHeader.setMyValue | ( | string | value | ) |
Sets the value for the header field
value | the value of the header field |