Class ParseImageDetailsFromHeaders
- java.lang.Object
-
- org.jclouds.openstack.glance.v1_0.functions.ParseImageDetailsFromHeaders
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,ImageDetails>
,Function<HttpResponse,ImageDetails>
public class ParseImageDetailsFromHeaders extends Object implements com.google.common.base.Function<HttpResponse,ImageDetails>
This parsesImageDetails
from HTTP headers.
-
-
Constructor Summary
Constructors Constructor Description ParseImageDetailsFromHeaders(DateService dateService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageDetails
apply(HttpResponse from)
-
-
-
Constructor Detail
-
ParseImageDetailsFromHeaders
@Inject public ParseImageDetailsFromHeaders(DateService dateService)
-
-
Method Detail
-
apply
public ImageDetails apply(HttpResponse from)
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,ImageDetails>
- Specified by:
apply
in interfaceFunction<HttpResponse,ImageDetails>
-
-