getURLProtocol() {
        const url = this.getUrl();
        if (url) {
            return this.getUrl().protocol;
        } else {
            return null;
        }
    }
Example: http: or https:
@returns {(null|string)} URL's protocol