public class ParseObjectInfoFromHeaders extends Object implements com.google.common.base.Function<org.jclouds.http.HttpResponse,MutableObjectInfoWithMetadata>, org.jclouds.rest.InvocationContext<ParseObjectInfoFromHeaders>
MutableObjectInfoWithMetadata from HTTP headers.| Constructor and Description |
|---|
ParseObjectInfoFromHeaders(org.jclouds.blobstore.functions.ParseSystemAndUserMetadataFromHeaders blobMetadataParser,
ResourceToObjectInfo blobToObjectInfo) |
| Modifier and Type | Method and Description |
|---|---|
MutableObjectInfoWithMetadata |
apply(org.jclouds.http.HttpResponse from)
parses the http response headers to create a new
MutableObjectInfoWithMetadata object. |
ParseObjectInfoFromHeaders |
setContext(org.jclouds.http.HttpRequest request) |
@Inject
public ParseObjectInfoFromHeaders(org.jclouds.blobstore.functions.ParseSystemAndUserMetadataFromHeaders blobMetadataParser,
ResourceToObjectInfo blobToObjectInfo)
public MutableObjectInfoWithMetadata apply(org.jclouds.http.HttpResponse from)
MutableObjectInfoWithMetadata object.apply in interface com.google.common.base.Function<org.jclouds.http.HttpResponse,MutableObjectInfoWithMetadata>public ParseObjectInfoFromHeaders setContext(org.jclouds.http.HttpRequest request)
setContext in interface org.jclouds.rest.InvocationContext<ParseObjectInfoFromHeaders>Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.