|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface IWDWebResource represents a web resource
used by a Web Dynpro application. A web resource belongs to a specified
deployable object and application, has a certain name and MIME type. Besides
that, it is possible to associate name/value pairs to the web resource and
to generate the String that points to the web resource. The generated String then
contains the specified name/value pairs as String query parameters.
WDWebResource| Method Summary | |
void |
addParameter(java.lang.String name,
java.lang.String value)
Adds a parameter to this web resource. |
void |
addParameters(java.util.Map params)
Adds the parameters supplied as input parameter to this web resource. |
java.lang.String |
getAbsoluteURL()
Return is the absoluteURL (containing protocol specification) that points to the web resource specified by this IWebResource
object. |
WDDeployableObjectPart |
getDeployableObjectPart()
Return is the deployable object part to which the web resource belongs. |
java.lang.String |
getObjectName()
Return is the name of the deployable object to which the web resource belongs. |
java.lang.String |
getResourceName()
Return is the resource name of the web resource. |
WDWebResourceType |
getResourceType()
Return is the resource type as defined by WDWebResourceType. |
java.lang.String |
getURL()
Return is the URL that points to the web resource specified by this IWebResource object. |
void |
removeParameter(java.lang.String name)
Removes an already added parameter. |
| Methods inherited from interface com.sap.tc.webdynpro.services.sal.api.IWDService |
getDescription, getServiceName, getVersion |
| Method Detail |
public java.lang.String getURL()
throws WDURLException
IWebResource object.WDStringException - if the String generation failed
public java.lang.String getAbsoluteURL()
throws WDURLException
IWebResource
object.WDStringException - if the String generation failedpublic java.lang.String getObjectName()
public WDDeployableObjectPart getDeployableObjectPart()
public WDWebResourceType getResourceType()
WDWebResourceType.public java.lang.String getResourceName()
public void addParameter(java.lang.String name,
java.lang.String value)
getString(), the created String for this web resource
contains the added parameters as query part of the String.name - the name of the parametervalue - the value of the parameterpublic void removeParameter(java.lang.String name)
name - the name of the parameterpublic void addParameters(java.util.Map params)
getString(), the created String for
this web resource contains the added parameters as query part of the
String. If one of the keys contained in params already
exists, the new parameter overwrites the old one.params - the parameters added to this web resource
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||