Package com.ibm.websphere.servlet.cache
Class ConfigElement
java.lang.Object
com.ibm.websphere.servlet.cache.ConfigElement
Deprecated.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intDeprecated.This specifies that the type of component is a cookie object.Deprecated.This is the data id that makes this entry invalid when it becomes invalid.Deprecated.This is a hashset of strings whose keys, if equal to the value of this variable on the request, will exclude this entry from being cached.booleanDeprecated.This flag indicates that, if this variable is present on the request, the servlet/JSP should not be cached.Deprecated.This is the identifier of the cache entry.booleanDeprecated.This flag indicates that, if this variable is present on the request, its value will not be used to generate the cache id.Deprecated.This is the invalidation ID for this entry.Deprecated.This is the method to be called on the command or object.static final intDeprecated.This specifies that the type of component is an attribute of the request object.static final intDeprecated.This specifies that the type of component is a parameter from the request object.booleanDeprecated.This flag indicates whether or not this variable is required to generate the cache ID for this entry.static final intDeprecated.This specifies that the type of component is an parameter from the HTTPSession object.intDeprecated.This specifies the component type of the variable.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract StringDeprecated.This gets the data id variable.abstract HashSetDeprecated.This gets the set of strings that, if equal to the value of this variable on the request, will exclude this entry from being cached.abstract booleanDeprecated.This gets the value of the excludeAll flag.abstract StringgetId()Deprecated.This gets the id variable.abstract booleanDeprecated.This gets the value of the ignoreValue flag.abstract StringDeprecated.This gets value of the inavalidate variable.abstract StringDeprecated.This gets the value of the method variable.abstract booleanDeprecated.This gets the value of the required flag.
- 
Field Details- 
typepublic int typeDeprecated.This specifies the component type of the variable. For Servlets/ JSPs it may be set to ConfigElement.RequestParameter, ConfigElement.RequestAttribute, ConfigElement.SessionParameter or ConfigElement.Cookie
- 
RequestParameterpublic static final int RequestParameterDeprecated.This specifies that the type of component is a parameter from the request object.- See Also:
 
- 
RequestAttributepublic static final int RequestAttributeDeprecated.This specifies that the type of component is an attribute of the request object.- See Also:
 
- 
SessionParameterpublic static final int SessionParameterDeprecated.This specifies that the type of component is an parameter from the HTTPSession object.- See Also:
 
- 
Cookiepublic static final int CookieDeprecated.This specifies that the type of component is a cookie object.- See Also:
 
- 
idDeprecated.This is the identifier of the cache entry. It must be unique within the scope of the cache. which is the WebSphere server group for the application.
- 
methodDeprecated.This is the method to be called on the command or object.
- 
dataIdDeprecated.This is the data id that makes this entry invalid when it becomes invalid. It must be unique within the same scope as the CacheEntry id. These data ids identify the underlying dynamic content (i.e., the raw data). When a piece of data is used in only one CacheEntry, the data id of the data can be the same as the CacheEntry id. When a piece of data is used in multiple fragments, its data id would be different from any of the CacheEntry ids.
- 
invalidateDeprecated.This is the invalidation ID for this entry.
- 
excludeDeprecated.This is a hashset of strings whose keys, if equal to the value of this variable on the request, will exclude this entry from being cached.
- 
requiredpublic boolean requiredDeprecated.This flag indicates whether or not this variable is required to generate the cache ID for this entry.
- 
excludeAllpublic boolean excludeAllDeprecated.This flag indicates that, if this variable is present on the request, the servlet/JSP should not be cached.
- 
ignoreValuepublic boolean ignoreValueDeprecated.This flag indicates that, if this variable is present on the request, its value will not be used to generate the cache id.
 
- 
- 
Constructor Details- 
ConfigElementpublic ConfigElement()Deprecated.
 
- 
- 
Method Details- 
getIdDeprecated.This gets the id variable.- Returns:
- The cache id.
 
- 
getMethodDeprecated.This gets the value of the method variable.- Returns:
- The method name.
 
- 
getDataIdDeprecated.This gets the data id variable.- Returns:
- The data id.
 
- 
getInvalidateDeprecated.This gets value of the inavalidate variable.- Returns:
- The invalidation id.
 
- 
getExcludeDeprecated.This gets the set of strings that, if equal to the value of this variable on the request, will exclude this entry from being cached.- Returns:
- Set of variables values.
 
- 
getExcludeAllpublic abstract boolean getExcludeAll()Deprecated.This gets the value of the excludeAll flag.- Returns:
- True, if a servlet/ JSP should not be cached.
 
- 
getRequiredpublic abstract boolean getRequired()Deprecated.This gets the value of the required flag.- Returns:
- True, if the variable is required to create the cache id.
 
- 
getIgnoreValuepublic abstract boolean getIgnoreValue()Deprecated.This gets the value of the ignoreValue flag.- Returns:
- True if the value of this variable can be ignored while building the cache id.
 
 
- 
- a request parameter, (a String defined externally by a client), 
 
- a request attribute (java object, attached to a ServletRequest 
 object previously in a servlet/JSP),
 
- a session parameter (java object attached
 an HttpSession object) 
 
For example, a request parameter defined so in cachespec.xml<request>
<parameter id="cityname" data_id="city" required="true" />
</request>
would generate a ConfigElement object where