org.jclouds.openstack.nova.v2_0.functions
Class ParseImageIdFromLocationHeader

java.lang.Object
  extended by 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

Constructor Summary
ParseImageIdFromLocationHeader()
           
 
Method Summary
 String apply(HttpResponse response)
           
 
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 Detail

ParseImageIdFromLocationHeader

public ParseImageIdFromLocationHeader()
Method Detail

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.