public class ParseAuthenticationResponseFromHeaders extends Object implements com.google.common.base.Function<org.jclouds.http.HttpResponse,AuthenticationResponse>, org.jclouds.rest.InvocationContext<ParseAuthenticationResponseFromHeaders>
AuthenticationResponse from HTTP headers.| Modifier and Type | Field and Description |
|---|---|
protected org.jclouds.logging.Logger |
logger |
| Constructor and Description |
|---|
ParseAuthenticationResponseFromHeaders() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResponse |
apply(org.jclouds.http.HttpResponse from)
parses the http response headers to create a new
AuthenticationResponse object. |
protected URI |
getURI(String headerValue) |
ParseAuthenticationResponseFromHeaders |
setContext(org.jclouds.http.HttpRequest request) |
public ParseAuthenticationResponseFromHeaders()
public AuthenticationResponse apply(org.jclouds.http.HttpResponse from)
AuthenticationResponse object.apply in interface com.google.common.base.Function<org.jclouds.http.HttpResponse,AuthenticationResponse>public ParseAuthenticationResponseFromHeaders setContext(org.jclouds.http.HttpRequest request)
setContext in interface org.jclouds.rest.InvocationContext<ParseAuthenticationResponseFromHeaders>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.