Class ParseCDNContainerFromHeaders
- java.lang.Object
-
- org.jclouds.rackspace.cloudfiles.v1.functions.ParseCDNContainerFromHeaders
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,CDNContainer>
,Function<HttpResponse,CDNContainer>
,InvocationContext<ParseCDNContainerFromHeaders>
public class ParseCDNContainerFromHeaders extends Object implements com.google.common.base.Function<HttpResponse,CDNContainer>, InvocationContext<ParseCDNContainerFromHeaders>
Parses theCDNContainer
from the response headers.
-
-
Constructor Summary
Constructors Constructor Description ParseCDNContainerFromHeaders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CDNContainer
apply(HttpResponse from)
parses the http response headers to create a newCDNContainer
object.ParseCDNContainerFromHeaders
setContext(HttpRequest request)
-
-
-
Method Detail
-
apply
public CDNContainer apply(HttpResponse from)
parses the http response headers to create a newCDNContainer
object.- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,CDNContainer>
- Specified by:
apply
in interfaceFunction<HttpResponse,CDNContainer>
-
setContext
public ParseCDNContainerFromHeaders setContext(HttpRequest request)
- Specified by:
setContext
in interfaceInvocationContext<ParseCDNContainerFromHeaders>
-
-