AppserverIo\Appserver\ServletEngine\Http\Request::setMethod PHP Method

setMethod() public method

While HTTP method names are typically all uppercase characters, HTTP method names are case-sensitive and thus implementations SHOULD NOT modify the given string.
public setMethod ( string $method ) : void
$method string Case-insensitive method
return void
    public function setMethod($method)
    {
        $this->getHttpRequest()->setMethod($method);
    }