org.jclouds.http.functions
Class ParseETagHeader

java.lang.Object
  extended by org.jclouds.http.functions.ParseETagHeader
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,String>

@Singleton
public class ParseETagHeader
extends Object
implements com.google.common.base.Function<HttpResponse,String>

Parses an MD5 checksum from the header HttpHeaders.ETAG.

Author:
Adrian Cole

Constructor Summary
ParseETagHeader()
           
 
Method Summary
 String apply(HttpResponse from)
           
 
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

ParseETagHeader

public ParseETagHeader()
Method Detail

apply

public String apply(HttpResponse from)
Specified by:
apply in interface com.google.common.base.Function<HttpResponse,String>


Copyright © 2009-2011 jclouds. All Rights Reserved.