public URLContext getContext() {
            return context;
        }
Returns the depth of this uri.
The depth of an hierarchical uri equals the number of slashes
which are not separating the protocol and the host, and not at the end.

@return the depth of this uri if it is hierarchical, or 0 if it is opaque
vespajlib/src/main/java/com/yahoo/net/URI.java