org.apache.droids.protocol.http
Class HttpClientContentLoader

java.lang.Object
  extended by org.apache.droids.protocol.http.HttpClientContentLoader
All Implemented Interfaces:
ContentLoader

public class HttpClientContentLoader
extends java.lang.Object
implements ContentLoader

ContentLoader based on HttpClient 4.0.


Constructor Summary
HttpClientContentLoader(org.apache.http.client.HttpClient httpclient)
           
 
Method Summary
 boolean exists(java.net.URI uri)
           
 java.io.InputStream load(java.net.URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClientContentLoader

public HttpClientContentLoader(org.apache.http.client.HttpClient httpclient)
Method Detail

exists

public boolean exists(java.net.URI uri)
               throws java.io.IOException
Specified by:
exists in interface ContentLoader
Throws:
java.io.IOException

load

public java.io.InputStream load(java.net.URI uri)
                         throws java.io.IOException
Specified by:
load in interface ContentLoader
Throws:
java.io.IOException


Copyright © 2007-2009. All Rights Reserved.