Arena
1.0
A content management system
|
A CGI application that buffers its output. More...
Public Member Functions | |
def | __init__ |
Constructor. | |
def | init |
Initializer. | |
def | __del__ |
Destructor. | |
def | flush |
Print the output buffer to the specified stream or stdout if no stream is specified. More... | |
def | displayError |
Display an error that may occur while running the engine. More... | |
def | Output |
Retrieve the output buffer used by the application. More... | |
Public Member Functions inherited from Library.Application.CGIApplications.ACGIApplication | |
def | __init__ |
Constructor. | |
def | init |
Initializer. | |
def | __del__ |
Destructor. | |
def | url |
Construct a URL for the remote client which contains the path to the running script, the name of the running script, and any additional query components provided. More... | |
Public Member Functions inherited from Library.Application.Applications.AnApplication | |
def | __init__ |
Construct a new instance of the application. More... | |
def | init |
Initializer. | |
def | __del__ |
Destructor. | |
def | run |
Run the application. More... | |
def | toString |
Construct a string representation of the application (the name and version string). More... | |
def | option |
Retrieves the value of the named option. More... | |
def | version |
Retrieve the version string for the application. More... | |
def | path |
Retrieve the path to the running script, either for local use or the use of the remote client. More... | |
def | script |
Retrieve the name of the executing script. More... | |
Public Member Functions inherited from Library.Base.Classwork.AnObject | |
def | init |
Initialize a new object instance. More... | |
def | __init__ |
Construct and initialize a new instance of AnObject. More... | |
def | __del__ |
Destroy the object instance. More... | |
def | displayName |
Construct a "pretty" display name for the class instance, based on the name of its class. More... | |
def | implements |
Determine whether the class instance is related to the specified class. More... | |
def | toString |
Return a string representation of the class, suitable for output to a console or text-based device. More... | |
def | __str__ |
Return a string representation of the class. More... | |
def | classname |
Return the name of the class from which the instance was created. More... | |
def | name |
Return the name of the class. More... | |
Public Member Functions inherited from Library.String.Utilities.IsPrintable | |
def | toString |
Return a string representation of the class conveniently. More... | |
def | __str__ |
Return a string representation of the class. More... | |
def | printTo |
Print a string representation of the class to the specified stream. More... | |
A CGI application that buffers its output.
This class changes sys.stdout
to point to its output buffer, so that calls to print()
will be directed to the output buffer instead of the console or other output device.
In addition to constructing the buffered output handler, this class also ensures that the values of its Cookie
attribute are passed to the output handler, so that cookies can easily be updated by the application.
def Library.Application.BufferedCGIApplications.ABufferedCGIApplication.displayError | ( | Self, | |
Err | |||
) |
Display an error that may occur while running the engine.
def Library.Application.BufferedCGIApplications.ABufferedCGIApplication.flush | ( | Self, | |
ThisStream = None |
|||
) |
Print the output buffer to the specified stream or stdout if no stream is specified.
def Library.Application.BufferedCGIApplications.ABufferedCGIApplication.Output | ( | Self | ) |
Retrieve the output buffer used by the application.