- com
- pcbsys
- nirvana
- nAdminAPI
- nCustomHeader
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) throws nIllegalArgumentException | |
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 | ||
) | throws nIllegalArgumentException |
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 |