org.apache.shindig.gadgets.uri
Interface ProxyUriManager

All Known Implementing Classes:
DefaultProxyUriManager, SanitizingProxyUriManager

public interface ProxyUriManager

Generates Uris used by the /proxy servlet

Since:
2.0.0

Nested Class Summary
static class ProxyUriManager.ProxyUri
           
static interface ProxyUriManager.Versioner
           
 
Method Summary
 List<Uri> make(List<ProxyUriManager.ProxyUri> resource, Integer forcedRefresh)
          Generate a Uri that proxies the given resource Uri.
 ProxyUriManager.ProxyUri process(Uri uri)
          Parse and validate the proxied Uri.
 

Method Detail

make

List<Uri> make(List<ProxyUriManager.ProxyUri> resource,
               Integer forcedRefresh)
Generate a Uri that proxies the given resource Uri.

Parameters:
resource - Resource Uri to proxy
forcedRefresh - Forced expires value to use for resource
Returns:
Uri of proxied resource

process

ProxyUriManager.ProxyUri process(Uri uri)
                                 throws GadgetException
Parse and validate the proxied Uri.

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


Copyright © 2007-2012. All Rights Reserved.