uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
resource(String u) method
Description
This method generates the WebResource object from a client (Client object).
Syntax
public WebResource resource(String u)
Parameter
- u
- This parameter is the Web resource URI.
Return value
The method returns a WebResource object.
Notes
- Specify a valid non-null URI in the u parameter. If null is specified, the NullPointerException exception is thrown. If any other invalid value is specified, the operation is the same as that for the create() method of the java.net.URI class of Java SE. For details, see the JDK documentation.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.