@Singleton public class ParseLoginResponseFromHeaders extends Object implements com.google.common.base.Function<HttpResponse,VCloudSession>
VCloudSession from HTTP headers.| Modifier and Type | Method and Description |
|---|---|
VCloudSession |
apply(HttpResponse from)
parses the http response headers to create a new
VCloudSession object. |
String |
parseTokenFromHeaders(HttpResponse from) |
public VCloudSession apply(HttpResponse from)
VCloudSession object.apply in interface com.google.common.base.Function<HttpResponse,VCloudSession>public String parseTokenFromHeaders(HttpResponse from)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.