WebKit.Response | index /usr/local/share/webware/WebKit/Response.py

`An abstract response`

Classes
`` |  | WebKit.Message.Message(__builtin__.object) Response
class Response(WebKit.Message.Message)
`` | `The abstract response class. Response is a type of Message that offers the following: * A time stamp (indicating when the response was finished) * An output stream Response is an abstract class; developers typically use HTTPResponse. FUTURE * Consider implementing the buffer/flush logic here including buffer size. * Also, consider then having a method that doesn't allow committment until the end.`
| Method resolution order: Response WebKit.Message.Message __builtin__.object Methods defined here: __init__(self, trans, strmOut) clearTransaction(self) deliver(self) endTime(self) isCommitted(self) recordEndTime(self) `Record the end time of the response. Stores the current time as the end time of the response. This should be invoked at the end of deliver(). It may also be invoked by the application for those responses that never deliver due to an error.` reset(self) streamOut(self) write(self, string) Methods inherited from WebKit.Message.Message: arg(self, name, default=<class 'MiscUtils.NoDefault'>) argNames(self) `Return a list of argument names.` clearArgs(self) deleteArg(self, name) hasArg(self, name) setArg(self, name, value) writeExceptionReport(self, handler) Static methods inherited from WebKit.Message.Message: contentLength() `Return the length of the message body or -1 if not known.` contentType() `Return the MIME type of the message body or None if not known.` protocol() `Return the protocol. Returns the name and version of the protocol the message uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.` Data descriptors inherited from WebKit.Message.Message: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`

Functions
`` |  | time(...) `time() -> floating point number Return the current time in seconds since the Epoch. Fractions of a second may be present if the system clock provides them.`