Home | Trees | Index | Help |
|
---|
Package Pyblio :: Package External :: Module HTTP :: Class HTTPRetrieve |
|
Factory
--+ |ClientFactory
--+ |HTTPClientFactory
--+ | HTTPRetrieve
Cancellable HTTP client.
This HTTP getter keeps track of the running protocol instances, so that their transport can be closed in the middle of an operation.Method Summary | |
---|---|
__init__(self,
url,
*args,
**kargs)
| |
Create an instance of a subclass of Protocol. | |
cancel(self)
| |
Inherited from HTTPClientFactory | |
| |
| |
| |
| |
| |
| |
| |
Inherited from ClientFactory | |
Called when an established connection is lost. | |
Called when a connection has been started. | |
Inherited from Factory | |
Make sure startFactory is called. | |
Make sure stopFactory is called. | |
This will be called before I begin listening on a Port or Connector. | |
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 | |
---|---|
Inherited from HTTPClientFactory | |
str |
host = ''
|
NoneType |
path = None |
NoneType |
port = None |
NoneType |
scheme = None |
NoneType |
url = None |
Inherited from Factory | |
Implements |
__implemented__ = <implementedBy twisted.internet.protoc...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
bool |
noisy = True
|
int |
numPorts = 0 |
NoneType |
protocol = None |
Method Details |
---|
buildProtocol(self, addr)Create an instance of a subclass of Protocol. The returned instance will handle input on an incoming server connection, and an attribute "factory" pointing to the creating factory. Override this method to alter how Protocol instances get created.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Sep 24 23:52:43 2006 | http://epydoc.sf.net |