public static HttpURL.Path getContentPath(HttpRequest request) {
        Path path = new Path(request.getUri());
        if ( ! path.matches("/application/v2/tenant/{tenant}/session/{session}/content/{*}"))
            throw new IllegalStateException("error in request routing, " + path +
                                             " does not match '/application/v2/tenant/{tenant}/session/{session}/content/{*}'");
        return path.getRest();
    }
Requests for content and content status (v2)
are handled by this class.

@author hmusum
configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/request/SessionContentRequestV2.java