org.apache.shindig.gadgets.uri
Interface ProxyUriManager.Versioner
- Enclosing interface:
- ProxyUriManager
public static interface ProxyUriManager.Versioner
version
List<String> version(List<Uri> resources,
String container)
- Generates a version for each of the provided resources.
- Parameters:
resources - Resources to version.container - Container making the request
- Returns:
- Index-correlated list of version strings
validate
UriStatus validate(Uri resource,
String container,
String value)
- Validate the version of the resource.
- Parameters:
resource - Uri of a proxied resourcecontainer - Container requesting the resourcevalue - Version value to validate.
- Returns:
- Status of the version.
Copyright © 2007-2012. All Rights Reserved.