public interface IBiBusHeader
Modifier and Type | Method and Description |
---|---|
void |
consumeFormField(java.lang.String theName)
Removes the specified form field variable from the biBusheader object.
|
java.util.Locale |
getContentLocale()
Returns the preferred content locale for the session.
|
java.lang.String[] |
getCookieValue(java.lang.String theName)
Returns all the values for the specified cookie variable.
|
java.lang.String[] |
getCredentialValue(java.lang.String theName)
Returns all the values for the specified name portion of the
name-value pairs in the credential.
|
java.lang.String[] |
getEnvVarValue(java.lang.String theName)
Returns all the values for the specified environment variable or null
if it does not exist.
|
java.lang.String[] |
getFormFieldValue(java.lang.String theName)
Returns all the values for the specified form field variable.
|
java.util.Locale |
getProductLocale()
Returns the preferred product locale for the session.
|
java.lang.String[] |
getTrustedEnvVarValue(java.lang.String theName)
Returns all the values for the specified trusted environment variable,
or null if it does not exist.
|
void |
setCookie(java.lang.String theName,
java.lang.String theValue,
int theMaxAge,
java.lang.String thePath,
java.lang.String theDomain,
boolean theSecureFlag)
Sets a cookie value in the biBusHeader object.
|
java.lang.String[] getCredentialValue(java.lang.String theName)
theName
- The name portion of the required name-value pairs in the
credential.java.lang.String[] getFormFieldValue(java.lang.String theName)
theName
- The name of the form field variable to retrieve.java.lang.String[] getCookieValue(java.lang.String theName)
theName
- The name of the cookie variable to retrieve.java.lang.String[] getEnvVarValue(java.lang.String theName)
theName
- The name of the environment variable to retrieve.java.lang.String[] getTrustedEnvVarValue(java.lang.String theName)
theName
- The name of the trusted environment variable to retrieve.SystemRecoverableException
void consumeFormField(java.lang.String theName)
theName
- The name of the form field variable to remove.void setCookie(java.lang.String theName, java.lang.String theValue, int theMaxAge, java.lang.String thePath, java.lang.String theDomain, boolean theSecureFlag)
theName
- The name of the cookie.theValue
- The value to assign to the cookie.theMaxAge
- A date string that specifies the valid life time of
the cookie. Once theMaxAge is reached, the cookie will
expire. If this value is set to 0, the cookie will last
for the duration of the browser session. If the value
is set to -1, then the cookie has expired.thePath
- Specifies the subset of URLs in a domain for which the
cookie is valid.theDomain
- Specifies the domain in which the cookie will be visible.
The default value of domain is the host name of the
server that generated the cookie response.theSecureFlag
- Specifies whether the cookie should be secured.
If true, the browser will not pass the cookie to the Web
server unless the Web page is being viewed over a secure
connection. Currently this means that secure cookies will only be sent to
HTTPS (HTTP over SSL) servers.java.util.Locale getProductLocale()
java.util.Locale getContentLocale()