org.jclouds.atmos.functions
Class ParseDirectoryListFromContentAndHeaders

java.lang.Object
  extended by org.jclouds.atmos.functions.ParseDirectoryListFromContentAndHeaders
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,BoundedSet<DirectoryEntry>>

@Singleton
public class ParseDirectoryListFromContentAndHeaders
extends Object
implements com.google.common.base.Function<HttpResponse,BoundedSet<DirectoryEntry>>

This parses BoundedSet from HTTP headers and xml content.

Author:
Adrian Cole

Method Summary
 BoundedSet<DirectoryEntry> apply(HttpResponse from)
          parses the http response headers to create a new BoundedSet object.
 
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
 

Method Detail

apply

public BoundedSet<DirectoryEntry> apply(HttpResponse from)
parses the http response headers to create a new BoundedSet object.

Specified by:
apply in interface com.google.common.base.Function<HttpResponse,BoundedSet<DirectoryEntry>>


Copyright © 2009-2011 jclouds. All Rights Reserved.