public function asHttpUri()
    {
        if ($this->value->isEmpty()) {
            return null;
        }

        if ($this->value->isHttpUri()) {
            return HttpUri::fromString($this->value->value());
        }

        $this->paramErrors->append($this->paramName, 'HTTP_URI_INCORRECT');
        return null;
    }