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