public String authority() {
        final String authority = this.authority;
        if (authority != null) {
            return authority;
        }

        final String newAuthority = DomainSocketUtil.toAuthority(path);
        this.authority = newAuthority;
        return newAuthority;
    }
Returns the authority (host) form of this address which can be used as a part of {@link URI}.
core/src/main/java/com/linecorp/armeria/common/util/DomainSocketAddress.java