getRequestMethod() method

Returns the request method.

Syntax

public int getRequestMethod ()

Parameters

Returns

the request method, with a value of IRequest.REQUEST_METHOD_* constants.

Example 1

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