class WorkspaceIdModifiedRequest extends HttpServletRequestWrapper {

    @Override
    public String getRequestURI() {
        String requestURI = super.getRequestURI();
        Matcher apiResourceMatcher = API_RESOURCE_PATTERN.matcher(requestURI);
        if (apiResourceMatcher.find()) {
            return apiResourceMatcher.replaceFirst(replaceString);
        }
        return requestURI;
    }

    public  WorkspaceIdModifiedRequest(HttpServletRequest request, Long workspaceId);

}