getRequestMethod() method

Retrieves the request method type.

Syntax

public int getRequestMethod ()

Parameters

Returns

Type of the HTTP request specified by IRequest.REQUEST_METHOD_* constants.

Example 1

BaseRequest getrequest = new BaseRequest(); int method = getrequest.getRequestMethod();