org.jclouds.http.functions
Class ParseContentMD5FromHeaders

java.lang.Object
  extended by org.jclouds.http.functions.ParseContentMD5FromHeaders
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,byte[]>, InvocationContext<ParseContentMD5FromHeaders>

public class ParseContentMD5FromHeaders
extends Object
implements com.google.common.base.Function<HttpResponse,byte[]>, InvocationContext<ParseContentMD5FromHeaders>

Author:
Adrian Cole

Nested Class Summary
static class ParseContentMD5FromHeaders.NoContentMD5Exception
           
 
Field Summary
protected  Logger logger
           
 
Constructor Summary
ParseContentMD5FromHeaders()
           
 
Method Summary
 byte[] apply(HttpResponse from)
           
 ParseContentMD5FromHeaders setContext(HttpRequest request)
           
 
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
 

Field Detail

logger

protected Logger logger
Constructor Detail

ParseContentMD5FromHeaders

public ParseContentMD5FromHeaders()
Method Detail

apply

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

setContext

public ParseContentMD5FromHeaders setContext(HttpRequest request)
Specified by:
setContext in interface InvocationContext<ParseContentMD5FromHeaders>


Copyright © 2009-2011 jclouds. All Rights Reserved.