com.ibm.commerce.pa.beans
Class IncludeURLDataBean
java.lang.Object
|
+--com.ibm.commerce.pa.beans.DynamicDataBeanImpl
|
+--com.ibm.commerce.pa.beans.ElementDataBean
|
+--com.ibm.commerce.pa.beans.IncludeURLDataBean
- All Implemented Interfaces:
- CommandDataBean, DataBean, DynamicDataBean, InputDataBean, java.io.Serializable
- public class IncludeURLDataBean
- extends ElementDataBean
The IncludeURLDataBean can fetch the content of an URL and put it on a JSP Page.
Please Note: If the URL is https(secure) request, it will convert it into a http (insecure) request.
So do NOT use this Bean if the data coming back is confidential.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
protected java.lang.String |
data
|
protected java.lang.String |
url
|
Fields inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
constraintList, defaultWidget, errorCode, errorMessage, interfaceName, metaData, pageName, parent, parentName, requestProperties, scriptName |
Method Summary |
java.lang.String |
getData()
This method gets the data. |
java.lang.String |
getUrl()
This method gets the url. |
void |
setData(java.lang.String newValue)
This method sets the data. |
void |
setUrl(java.lang.String newValue)
Set the URL. |
Methods inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
addConstraint, getConstraintList, getDefaultWidget, getErrorCode, getErrorMessage, getMetaData, getPageName, getParent, getParentName, getScriptName, setCommandInterfaceName, setConstraintList, setDefaultWidget, setErrorCode, setErrorMessage, setMetaData, setPageName, setParent, setParentName, setScriptName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
data
protected java.lang.String data
url
protected java.lang.String url
IncludeURLDataBean
public IncludeURLDataBean()
- IncludeURLDataBean constructor comment.
getData
public java.lang.String getData()
- This method gets the data.
- Returns:
- java.lang.String The data.
getUrl
public java.lang.String getUrl()
- This method gets the url.
- Returns:
- java.lang.String The url.
setData
public void setData(java.lang.String newValue)
- This method sets the data.
- Parameters:
newValue
- java.lang.String The data to be set.
setUrl
public void setUrl(java.lang.String newValue)
- Set the URL. If the URL is https protocol. it will convert it into a http request.
So do NOT use this if the data coming back is confidential.
- Parameters:
newValue
- java.lang.String