Package org.jclouds.http.functions
Class ParseETagHeader
- java.lang.Object
-
- org.jclouds.http.functions.ParseETagHeader
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,String>
,Function<HttpResponse,String>
@Singleton public class ParseETagHeader extends Object implements com.google.common.base.Function<HttpResponse,String>
Parses an MD5 checksum from the headercom.google.common.net.HttpHeaders.HttpHeaders#ETAG
.
-
-
Constructor Summary
Constructors Constructor Description ParseETagHeader()
-
-
-
Method Detail
-
apply
public String apply(HttpResponse from)
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,String>
- Specified by:
apply
in interfaceFunction<HttpResponse,String>
-
-