Class e.p.h.h.ElisaAdvancedHttpClient(ElisaHttpClient):

Part of elisa.plugins.http_client.http_client View In Hierarchy

An ElisaHttpClient specialization that handles HTTP redirections.
Line # Kind Name Docs
480 Method __init__ Constructor.
489 Method close Close an open HTTP connection.
485 Method _create_redirection_client Undocumented
499 Method _request_done Callback invoked when receiving the response to a request.
561 Method _submit_redirection_request Undocumented

Inherited from ElisaHttpClient:

Line # Kind Name Docs
215 Method request Send an HTTP request.
229 Method request_full Send an HTTP request.
268 Method is_busy Test whether the client is busy processing requests.
350 Method connectionFailed Callback invoked by the HTTP client factory when the connection fails.
362 Method connectionLost Callback invoked by the HTTP client factory when losing the connection.
397 Method connectionLostForever Callback invoked by the HTTP client factory when the connection is lost
419 Method connectionMade Callback invoked by the HTTP client protocol when the connection is
435 Method requestWriteFinished Callback invoked by the HTTP client protocol when a request has been
197 Method _reset Undocumented
203 Method _open Open an HTTP connection.
280 Method _queue_request Enqueue a request to submit to the server.
313 Method _submit_next_request Undocumented
346 Method _callback_request_defer Undocumented
def __init__(self, host, port=80):
Constructor.
Parametershosthostname or IP address of the server (type: str )
portTCP port on which the server listens (type: int )
pipelinewhether the client should pipeline requests (type: bool )
def _create_redirection_client(self, result_or_failure, host, port):
Undocumented
def close(self):
Close an open HTTP connection.
Returnsa deferred triggered when the connection is closed (type: twisted.internet.defer.Deferred )
def _request_done(self, response, request):
Callback invoked when receiving the response to a request.
def _submit_redirection_request(self, request):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.