org.apache.shindig.gadgets.uri
Interface ProxyUriManager.Versioner

Enclosing interface:
ProxyUriManager

public static interface ProxyUriManager.Versioner


Method Summary
 UriStatus validate(Uri resource, String container, String value)
          Validate the version of the resource.
 List<String> version(List<Uri> resources, String container)
          Generates a version for each of the provided resources.
 

Method Detail

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 resource
container - Container requesting the resource
value - Version value to validate.
Returns:
Status of the version.


Copyright © 2007-2012. All Rights Reserved.