context.addMatchedURI(requestPath.substring(0, requestPath.lastIndexOf(newRequestPath)));
// save parameters values, actually parameters was save before, now just map parameter's names to values
context.setParameterNames(srld.getUriPattern().getParameterNames());
// NOTE Locators can't accept entity
MethodInvoker invoker = srld.getMethodInvoker();
resource = invoker.invokeMethod(resource, srld, context);
AbstractResourceDescriptor descriptor = new AbstractResourceDescriptorImpl(resource, invokerFactory);
SingletonObjectFactory<AbstractResourceDescriptor> locResource =
new SingletonObjectFactory<AbstractResourceDescriptor>(descriptor, resource);