public Endpoint asEndpoint() {
        final Endpoint endpoint = this.endpoint;
        if (endpoint != null) {
            return endpoint;
        }

        final Endpoint newEndpoint = Endpoint.of(authority());
        this.endpoint = newEndpoint;
        return newEndpoint;
    }
Converts this address to an {@link Endpoint}.
core/src/main/java/com/linecorp/armeria/common/util/DomainSocketAddress.java