Package org.jclouds.http.functions
Class ParseURIFromListOrLocationHeaderIf20x
- java.lang.Object
-
- org.jclouds.http.functions.ParseURIFromListOrLocationHeaderIf20x
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,URI>
,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
-
-
Field Summary
Fields Modifier and Type Field Description protected HttpRequest
request
-
Constructor Summary
Constructors Constructor Description ParseURIFromListOrLocationHeaderIf20x()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
apply(HttpResponse from)
ParseURIFromListOrLocationHeaderIf20x
setContext(HttpRequest request)
-
-
-
Field Detail
-
request
protected HttpRequest request
-
-
Method Detail
-
apply
public URI apply(HttpResponse from)
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,URI>
- Specified by:
apply
in interfaceFunction<HttpResponse,URI>
-
setContext
public ParseURIFromListOrLocationHeaderIf20x setContext(HttpRequest request)
- Specified by:
setContext
in interfaceInvocationContext<ParseURIFromListOrLocationHeaderIf20x>
-
-