Package twisted :: Package web :: Module spider :: Class HTTPDownloader
[frames | no frames]

Class HTTPDownloader

  Factory --+            
            |            
ClientFactory --+        
                |        
HTTPClientFactory --+    
                    |    
       HTTPDownloader --+
                        |
                       HTTPDownloader


Method Summary
  gotHeaders(self, headers)
  pageEnd(self)
  pagePart(self, s)
    Inherited from HTTPDownloader
  __init__(self, host, url, fileName, method, postdata, headers, agent, supportPartial)
  pageStart(self, partialContent)
Called on page download start.
    Inherited from HTTPClientFactory
  buildProtocol(self, addr)
Create an instance of a subclass of Protocol.
  clientConnectionFailed(self, _, reason)
  gotStatus(self, version, status, message)
  noPage(self, reason)
  page(self, page)
    Inherited from ClientFactory
  clientConnectionLost(self, connector, reason)
Called when a connection is lost.
  startedConnecting(self, connector)
Called when a connection has been started.
    Inherited from Factory
  doStart(self)
Make sure startFactory is called.
  doStop(self)
Make sure stopFactory is called.
  startFactory(self)
This will be called before I begin listening on a Port or Connector.
  stopFactory(self)
This will be called before I stop listening on all Ports/Connectors.

Instance Variable Summary
    Inherited from HTTPClientFactory
Deferred deferred: A Deferred that will fire when the content has been retrieved.
str message: The text message returned with the status.
dict response_headers: The headers that were specified in the response from the server.
str status: The status of the response.
str version: The version of the response.

Class Variable Summary
int expectedLength = 0                                                                     
DummyParser parser = <twisted.web.spider.DummyParser instance at 0x8...
int soFar = 0                                                                     
    Inherited from HTTPDownloader
NoneType value = None                                                                  
    Inherited from Factory
tuple __implements__ = (<class twisted.internet.interfaces.IPr...
str noisy = 'sure, why not'
int numPorts = 0                                                                     
NoneType protocol = None                                                                  

Class Variable Details

expectedLength

Type:
int
Value:
0                                                                     

parser

Type:
DummyParser
Value:
<twisted.web.spider.DummyParser instance at 0x8a62cc4>                 

soFar

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.0 on Sat Sep 13 04:20:50 2003 http://epydoc.sf.net