org.jclouds.elasticstack.functions
Class KeyValuesDelimitedByBlankLinesToServerInfo

java.lang.Object
  extended by org.jclouds.elasticstack.functions.KeyValuesDelimitedByBlankLinesToServerInfo
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,ServerInfo>

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

Author:
Adrian Cole

Constructor Summary
KeyValuesDelimitedByBlankLinesToServerInfo(ListOfKeyValuesDelimitedByBlankLinesToServerInfoSet setParser)
           
 
Method Summary
 ServerInfo apply(HttpResponse response)
           
 
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
 

Constructor Detail

KeyValuesDelimitedByBlankLinesToServerInfo

@Inject
public KeyValuesDelimitedByBlankLinesToServerInfo(ListOfKeyValuesDelimitedByBlankLinesToServerInfoSet setParser)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.