Class ParseImageIdFromLocationHeader
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.functions.ParseImageIdFromLocationHeader
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,String>
,Function<HttpResponse,String>
@Singleton public class ParseImageIdFromLocationHeader extends Object implements com.google.common.base.Function<HttpResponse,String>
This parsesImage
from the body of the link in the Location header of the HTTPResponse.
-
-
Constructor Summary
Constructors Constructor Description ParseImageIdFromLocationHeader()
-
-
-
Method Detail
-
apply
public String apply(HttpResponse response)
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,String>
- Specified by:
apply
in interfaceFunction<HttpResponse,String>
-
-