org.jclouds.http.functions
Class ParseURIFromListOrLocationHeaderIf20x

java.lang.Object
  extended by org.jclouds.http.functions.ParseURIFromListOrLocationHeaderIf20x
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,URI>, InvocationContext<ParseURIFromListOrLocationHeaderIf20x>

public class ParseURIFromListOrLocationHeaderIf20x
extends Object
implements com.google.common.base.Function<HttpResponse,URI>, InvocationContext<ParseURIFromListOrLocationHeaderIf20x>

parses a single URI from a list

Author:
Adrian Cole

Method Summary
 URI apply(HttpResponse from)
           
 ParseURIFromListOrLocationHeaderIf20x setContext(HttpRequest request)
           
 
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
 

Method Detail

apply

public URI apply(HttpResponse from)
Specified by:
apply in interface com.google.common.base.Function<HttpResponse,URI>

setContext

public ParseURIFromListOrLocationHeaderIf20x setContext(HttpRequest request)
Specified by:
setContext in interface InvocationContext<ParseURIFromListOrLocationHeaderIf20x>


Copyright © 2009-2011 jclouds. All Rights Reserved.