@Override
    protected HttpResponse handlePUT(HttpRequest request) {
        long sessionId = getSessionIdV2(request);
        TenantName tenantName = getExistingTenant(request).getName();
        PrepareParams prepareParams = PrepareParams.fromHttpRequest(request, tenantName, zookeeperBarrierTimeout);
        PrepareResult result = applicationRepository.prepare(sessionId, prepareParams);
        return new SessionPrepareResponse(result, tenantName, request);
    }
A handler that prepares a session given by an id in the request. v2 of application API

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