org.jclouds.vcloud.director.v1_5.parsers
Class SessionWithTokenFromXMLAndHeader

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.parsers.SessionWithTokenFromXMLAndHeader
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,SessionWithToken>

@Singleton
public class SessionWithTokenFromXMLAndHeader
extends Object
implements com.google.common.base.Function<HttpResponse,SessionWithToken>

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
SessionWithTokenFromXMLAndHeader(ParseXMLWithJAXB<Session> sessionParser)
           
 
Method Summary
 SessionWithToken apply(HttpResponse from)
           
 
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 Detail

logger

protected Logger logger
Constructor Detail

SessionWithTokenFromXMLAndHeader

@Inject
public SessionWithTokenFromXMLAndHeader(ParseXMLWithJAXB<Session> sessionParser)
Method Detail

apply

public SessionWithToken apply(HttpResponse from)
Specified by:
apply in interface com.google.common.base.Function<HttpResponse,SessionWithToken>


Copyright © 2009-2012 jclouds. All Rights Reserved.