public static String methodName(StringFinder context) {
return context.get(MojasefConstants.REQUEST_PATHOBJECT);
}
public static StringFinder createSubcontext(StringFinder context, String path, String mountpoint) {
MapFetcher repository = new MapFetcher();
Fetcher subcontext = new FallbackFetcher(repository, context.getUnderlyingFetcher());
repository.put(MojasefConstants.MOUNTCONTEXT, getMountContext(context));
repository.put(MojasefConstants.MOUNTPOINT, mountpoint);
repository.put(MojasefConstants.REQUEST_LOCALPATH, path);
return new FetcherStringKeeper(subcontext);
}