getMethod
Returns the HTTP request method used for client and server calls.
General format
String getMethod( )
General rules
1. The returned value is one of the following strings: CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT.