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 the
CDNContainer
from the response headers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(HttpResponse from) parses the http response headers to create a newCDNContainer
object.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
-
Constructor Details
-
ParseCDNContainerFromHeaders
public ParseCDNContainerFromHeaders()
-
-
Method Details
-
apply
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
- Specified by:
setContext
in interfaceInvocationContext<ParseCDNContainerFromHeaders>
-