public class ParseCDNContainerFromHeaders extends Object implements com.google.common.base.Function<HttpResponse,CDNContainer>, InvocationContext<ParseCDNContainerFromHeaders>
AccountMetadata
from HTTP headers.Constructor and Description |
---|
ParseCDNContainerFromHeaders() |
Modifier and Type | Method and Description |
---|---|
CDNContainer |
apply(HttpResponse from)
parses the http response headers to create a new
CDNContainer object. |
ParseCDNContainerFromHeaders |
setContext(HttpRequest request) |
public CDNContainer apply(HttpResponse from)
CDNContainer
object.apply
in interface com.google.common.base.Function<HttpResponse,CDNContainer>
public ParseCDNContainerFromHeaders setContext(HttpRequest request)
setContext
in interface InvocationContext<ParseCDNContainerFromHeaders>
Copyright © 2009-2013 jclouds. All Rights Reserved.