setRequestMethod(final int) method

Sets the type of HTTP request method.

Syntax

public void setRequestMethod (final int aRequestMethod)

Parameters

Returns

None

Example 1

BaseRequest getrequest = new BaseRequest(); getrequest.setRequestMethod(IRequest.REQUEST_METHOD_GET);