Sets the type of HTTP request method.
Syntax
public
void
setRequestMethod
(
final int
aRequestMethod
)
Parameters
-
requestMethod –
Type of the HTTP request specified by IRequest.REQUEST_METHOD_* constants.
Returns
None
Example 1
BaseRequest getrequest = new BaseRequest(); getrequest.setRequestMethod(IRequest.REQUEST_METHOD_GET);