private SessionContentRequestV2 getContentRequest(HttpRequest request) {
        TenantName tenantName = Utils.getTenantNameFromSessionRequest(request);
        validateRequest(tenantName);
        long sessionId = getSessionIdV2(request);
        Path contentPath = SessionContentRequestV2.getContentPath(request);
        ApplicationFile applicationFile =
                applicationRepository.getApplicationFileFromSession(tenantName,
                                                                    sessionId,
                                                                    contentPath,
                                                                    ContentRequest.getApplicationFileMode(request.getMethod()));
        return new SessionContentRequestV2(request, sessionId, tenantName, contentPath, applicationFile);
    }
A handler that will return content or content status for files or directories
in the session's application package

@author Ulf Lilleengen
configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/SessionContentHandler.java