public function getHttpMethodsAsArray()
{
// initialize the array for the HTTP methods
$httpMethods = array();
// prepare the HTTP methods
/** @var \AppserverIo\Appserver\Core\Api\Node\HttpMethodNode $httpMethodNode */
foreach ($this->getHttpMethods() as $httpMethodNode) {
$httpMethods[] = strtoupper($httpMethodNode->__toString());
}
// return the array with the HTTP methods
return $httpMethods;
}