org.jclouds.cloudfiles.functions
Class ParseCdnUriFromHeaders

java.lang.Object
  extended by org.jclouds.cloudfiles.functions.ParseCdnUriFromHeaders
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,URI>

public class ParseCdnUriFromHeaders
extends Object
implements com.google.common.base.Function<HttpResponse,URI>

This parses AccountMetadata from HTTP headers.

Author:
James Murty

Constructor Summary
ParseCdnUriFromHeaders()
           
 
Method Summary
 URI apply(HttpResponse from)
          parses the http response headers to provide the CDN URI string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

ParseCdnUriFromHeaders

public ParseCdnUriFromHeaders()
Method Detail

apply

public URI apply(HttpResponse from)
parses the http response headers to provide the CDN URI string.

Specified by:
apply in interface com.google.common.base.Function<HttpResponse,URI>


Copyright © 2009-2011 jclouds. All Rights Reserved.