Package org.jclouds.openstack.functions
Class ParseAuthenticationResponseFromHeaders
java.lang.Object
org.jclouds.openstack.functions.ParseAuthenticationResponseFromHeaders
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,
,AuthenticationResponse> Function<HttpResponse,
,AuthenticationResponse> InvocationContext<ParseAuthenticationResponseFromHeaders>
public class ParseAuthenticationResponseFromHeaders
extends Object
implements com.google.common.base.Function<HttpResponse,AuthenticationResponse>, InvocationContext<ParseAuthenticationResponseFromHeaders>
This parses
AuthenticationResponse
from HTTP headers.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(HttpResponse from) parses the http response headers to create a newAuthenticationResponse
object.protected URI
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
-
Field Details
-
logger
-
-
Constructor Details
-
ParseAuthenticationResponseFromHeaders
public ParseAuthenticationResponseFromHeaders()
-
-
Method Details
-
apply
parses the http response headers to create a newAuthenticationResponse
object.- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,
AuthenticationResponse> - Specified by:
apply
in interfaceFunction<HttpResponse,
AuthenticationResponse>
-
getURI
-
setContext
- Specified by:
setContext
in interfaceInvocationContext<ParseAuthenticationResponseFromHeaders>
-