org.jclouds.openstack.nova.v2_0.functions
Class ParseImageIdFromLocationHeader
java.lang.Object
org.jclouds.openstack.nova.v2_0.functions.ParseImageIdFromLocationHeader
- All Implemented Interfaces:
- com.google.common.base.Function<HttpResponse,String>
@Singleton
public class ParseImageIdFromLocationHeader
- extends Object
- implements com.google.common.base.Function<HttpResponse,String>
This parses Image from the body of the link in the Location header of the HTTPResponse.
- Author:
- Tim Miller
| 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 |
ParseImageIdFromLocationHeader
public ParseImageIdFromLocationHeader()
apply
public String apply(HttpResponse response)
- Specified by:
apply in interface com.google.common.base.Function<HttpResponse,String>
Copyright © 2009-2012 jclouds. All Rights Reserved.