uCosminexus Application Server, Web Service Development Guide
Description
This method generates a new WebResource object from this object (WebResource object).
If the URI specified in the parameter contains a path component beginning with a forward slash (/), the path of the Web resource URI stored in the generated WebResource object is replaced. If a path component beginning with a forward slash (/) does not exist, the path of the Web resource URI stored in the generated WebResource object is the path where that path component is added in the path of this object (WebResource object).
If the URI specified in the parameter contains a query parameter, this query parameter becomes the query parameter for the Web resource URI stored in the generated WebResource object. If the Web resource URI stored in this object contains a query parameter, the query parameter is replaced.
Syntax
public WebResource uri(URI uri)
Parameter
Return value
The method returns the generated WebResource object.
Notes
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.