|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
com.ibm.hats.transform.context.ContextAttributes
com.ibm.hats.transform.context.WebContextAttributes
public class WebContextAttributes
This class extends the class ContextAttributes and contains additional
attributes that only apply to a Web-based context. A consumer should use an instance
this class with HSR (versus using the base class ContextAttributes) if they are
deploying HSR in the Web environment.
| Field Summary | |
|---|---|
static String |
ATTR_IN_IE_BROWSER
|
static String |
ATTR_IN_SAFARI_BROWSER
|
| Constructor Summary | |
|---|---|
WebContextAttributes()
Creates a new WebContextAttributes object, which should be used by the consumer if running
HSR in a Web-specific context, such as a Web Browser. |
|
| Method Summary | |
|---|---|
boolean |
isInIEViewer()
Gets whether the transformation request is intended to be viewed with the Internet Explorer Web browser, if already set in the context attributes. |
boolean |
isInPocketIEViewer()
Gets whether the transformation request is intended to be viewed with the Pocket Internet Explorer Web browser. |
boolean |
isInSafariViewer()
Gets whether the transformation request is intended to be viewed with the Safari Web browser, if already set in the context attributes. |
void |
setIsInIEViewer(boolean isInIE)
Sets whether the transformation request is intended to be viewed with the Internet Explorer Web browser. |
void |
setIsInSafariViewer(boolean isInSafari)
Sets whether the transformation request is intended to be viewed with the Safari Web browser. |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTR_IN_IE_BROWSER
public static final String ATTR_IN_SAFARI_BROWSER
| Constructor Detail |
|---|
public WebContextAttributes()
Creates a new WebContextAttributes object, which should be used by the consumer if running
HSR in a Web-specific context, such as a Web Browser. With this constructor, some of the
required HSR context attributes are prefilled with default values. The default values are listed
immediately below. If the default values are not satisfactory, then they should be overridden
with the appropriate set() method.
Following are examples of attributes that are not prefilled but must be provided by the consumer for HSR to function properly. A consumer should ideally examine each "getter" function of the context attributes and provide the attributes with the attribute's corresponding set() method.
| Method Detail |
|---|
public boolean isInIEViewer()
false if not set.public boolean isInPocketIEViewer()
false if not set.public boolean isInSafariViewer()
false if not set.public void setIsInIEViewer(boolean isInIE)
isInIE - - whether in IE browser or notpublic void setIsInSafariViewer(boolean isInSafari)
isInSafari - - whether in Safari browser or not
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||