public ResolvedRequest withPath ( String path ) { assert repositoryName != null ; assert workspaceName != null ; return new ResolvedRequest ( request , repositoryName , workspaceName , path ) ; }
Create a new request that is similar to this request except with the supplied path . This can only be done if the repository name and workspace name are non - null