sunlabs.brazil.filter
public class UrlMapFilter extends Object implements Filter
This filter examimes content derived from non-proxied sources for absolute url's to proxied sites, and rewrites them to point to the virtual mount point on the local machine instead of directly to the mounted site.
Version: 2.2
| Method Summary | |
|---|---|
| byte[] | filter(Request request, MimeHeaders headers, byte[] content)
Rewrite all absolute links, if there are any left |
| boolean | init(Server server, String prefix) |
| boolean | respond(Request request)
This is the request object before the content was fetched |
| boolean | shouldFilter(Request request, MimeHeaders headers)
Only filter text documents if the MultiProxyHandler was called |