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 newAuthenticationResponseobject.protected URIsetContext(HttpRequest request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 newAuthenticationResponseobject.- Specified by:
applyin interfacecom.google.common.base.Function<HttpResponse,AuthenticationResponse> - Specified by:
applyin interfaceFunction<HttpResponse,AuthenticationResponse>
-
getURI
-
setContext
- Specified by:
setContextin interfaceInvocationContext<ParseAuthenticationResponseFromHeaders>
-