According to ResourceResolver Interface:
http://dev.day.com/docs/en/cq/current/javadoc/org/apache/sling/api/resource/ResourceResolver.html
There are ways to resolve either path or request to a Resource:
Resource resolve(HttpServletRequest request) Deprecated. as of 2.0.4, use resolve(HttpServletRequest, String) instead. Resource resolve(HttpServletRequest request, String absPath) Resolves the resource from the given absPath optionally taking HttpServletRequest into account, such as the value of the Host request header. Resource resolve(String absPath) Resolves the resource from the given absolute path.
But, if I have a random given URL string (e.g. 'http://www.mycompany.com/whatever.html'). How do I programmatically find out the corresponding Resource from a given URL string?
In other words, how is
Adobe Experience Manager Web Console
Sling Resource Resolver
implemented?