org.apache.shindig.gadgets.render
Class SanitizingProxyUriManager
java.lang.Object
org.apache.shindig.gadgets.render.SanitizingProxyUriManager
- All Implemented Interfaces:
- ProxyUriManager
public class SanitizingProxyUriManager
- extends Object
- implements ProxyUriManager
Forcible rewrite the link through the proxy and force sanitization with
an expected mime type.
- Since:
- 2.0.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SanitizingProxyUriManager
public SanitizingProxyUriManager(ProxyUriManager wrapped,
String expectedMime)
process
public ProxyUriManager.ProxyUri process(Uri uri)
throws GadgetException
- Description copied from interface:
ProxyUriManager
- Parse and validate the proxied Uri.
- Specified by:
process in interface ProxyUriManager
- Parameters:
uri - A Uri presumed to be a proxied Uri generated
by this class or in a compatible way
- Returns:
- Status of the Uri passed in
- Throws:
GadgetException
make
public List<Uri> make(List<ProxyUriManager.ProxyUri> ctx,
Integer forcedRefresh)
- Description copied from interface:
ProxyUriManager
- Generate a Uri that proxies the given resource Uri.
- Specified by:
make in interface ProxyUriManager
- Parameters:
ctx - Resource Uri to proxyforcedRefresh - Forced expires value to use for resource
- Returns:
- Uri of proxied resource
Copyright © 2007-2012. All Rights Reserved.