eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\UnauthorizedException::getStatus PHP Method

getStatus() protected method

Returns HTTP status code.
protected getStatus ( ) : integer
return integer
    protected function getStatus()
    {
        return 401;
    }
UnauthorizedException