uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
build(URI uri, String method) method
Description
The method sets up the ClientRequest object.
Syntax
public ClientRequest build(URI uri,
String method)
Parameter
- uri
- This is the URI of an HTTP request.
- method
- This is the name of an HTTP method.
Return value
The method returns the ClientRequest object.
Notes
- Specify a valid URI in the uri parameter. Use the characters defined in RFC 2396 in the URI. A uri parameter is not automatically URI encoded. Specify a URI-encoded value in the uri parameter as and when required.
- Specify uppercase GET, HEAD, POST, OPTIONS, PUT, or DELETE in the method parameter.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.