Class ParseImageIdFromLocationHeader

java.lang.Object
org.jclouds.openstack.nova.v2_0.functions.ParseImageIdFromLocationHeader
All Implemented Interfaces:
com.google.common.base.Function<org.jclouds.http.HttpResponse,String>, Function<org.jclouds.http.HttpResponse,String>

@Singleton public class ParseImageIdFromLocationHeader extends Object implements com.google.common.base.Function<org.jclouds.http.HttpResponse,String>
This parses Image from the body of the link in the Location header of the HTTPResponse.
  • Constructor Details

    • ParseImageIdFromLocationHeader

      public ParseImageIdFromLocationHeader()
  • Method Details

    • apply

      public String apply(org.jclouds.http.HttpResponse response)
      Specified by:
      apply in interface com.google.common.base.Function<org.jclouds.http.HttpResponse,String>
      Specified by:
      apply in interface Function<org.jclouds.http.HttpResponse,String>