public class SanitizingProxyUriManager extends Object implements ProxyUriManager
ProxyUriManager.ProxyUri, ProxyUriManager.Versioner| Constructor and Description |
|---|
SanitizingProxyUriManager(ProxyUriManager wrapped,
String expectedMime) |
| Modifier and Type | Method and Description |
|---|---|
List<Uri> |
make(List<ProxyUriManager.ProxyUri> ctx,
Integer forcedRefresh)
Generate a Uri that proxies the given resource Uri.
|
ProxyUriManager.ProxyUri |
process(Uri uri)
Parse and validate the proxied Uri.
|
public SanitizingProxyUriManager(ProxyUriManager wrapped, String expectedMime)
public ProxyUriManager.ProxyUri process(Uri uri) throws GadgetException
ProxyUriManagerprocess in interface ProxyUriManageruri - A Uri presumed to be a proxied Uri generated
by this class or in a compatible wayGadgetExceptionpublic List<Uri> make(List<ProxyUriManager.ProxyUri> ctx, Integer forcedRefresh)
ProxyUriManagermake in interface ProxyUriManagerctx - Resource Uri to proxyforcedRefresh - Forced expires value to use for resourceCopyright © 2007-2012. All Rights Reserved.