uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
getMethod() method
Description
This method acquires an HTTP method.
Syntax
public abstract String getMethod()
Parameter
Return value
The method returns an HTTP method.
Notes
- The name of the HTTP method set in the ClientRequest object is returned in the form of a character string. You can set an HTTP method with the following methods:
- setMethod(String method) method of the ClientRequest class
- build(URI uri, String method) method of the ClientRequest.Builder class
- If null is set in the HTTP method, the method returns null.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.