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. ElementDataBean
dataElement
 
Fields inherited from class com.ibm.commerce.pa.beans. DynamicDataBeanImpl
constraintList, defaultWidget, errorCode, errorMessage, interfaceName, metaData, pageName, parent, parentName, requestProperties, scriptName
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
IncludeURLDataBean()
          IncludeURLDataBean constructor comment.
 
Method Summary
 java.lang.String getData()
          This method was created in VisualAge.
 java.lang.String getUrl()
          This method was created in VisualAge.
 void setData(java.lang.String newValue)
          This method was created in VisualAge.
 void setUrl(java.lang.String newValue)
          Set the URL.
 
Methods inherited from class com.ibm.commerce.pa.beans. ElementDataBean
copy, getCommandInterfaceName, getDataElement, getRequestProperties, setDataElement, setRequestProperties
 
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
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

url

protected java.lang.String url

data

protected java.lang.String data
Constructor Detail

IncludeURLDataBean

public IncludeURLDataBean()
IncludeURLDataBean constructor comment.
Method Detail

getData

public java.lang.String getData()
This method was created in VisualAge.
Returns:
java.lang.String

getUrl

public java.lang.String getUrl()
This method was created in VisualAge.
Returns:
java.lang.String

setData

public void setData(java.lang.String newValue)
This method was created in VisualAge.
Parameters:
newValue - java.lang.String

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