twisted.web.test.test_xmlrpc.Test(XMLRPC)
class documentationtwisted.web.test.test_xmlrpc
(View In Hierarchy)
Known subclasses: twisted.web.test.test_xmlrpc.TestAuthHeader
Method | xmlrpc_echo | Undocumented |
Method | xmlrpc_add | This function add two numbers. |
Method | xmlrpc_pair | This function puts the two arguments in an array. |
Method | xmlrpc_defer | Help for defer. |
Method | xmlrpc_deferFail | Undocumented |
Method | xmlrpc_fail | Undocumented |
Method | xmlrpc_fault | Undocumented |
Method | xmlrpc_deferFault | Undocumented |
Method | xmlrpc_snowman | Used to test that we can pass Unicode. |
Method | xmlrpc_complex | Undocumented |
Method | xmlrpc_dict | Undocumented |
Method | xmlrpc_withRequest | A method decorated with withRequest
which can be called by a test to verify that the request object really is
passed as an argument. |
Method | lookupProcedure | Given a string naming a procedure, return a callable object for that procedure or raise NoSuchFunction. |
Inherited from XMLRPC:
Instance Variable | allowNone | Permit XML translating of Python constant None. (type: bool ) |
Instance Variable | useDateTime | Present datetime values as datetime.datetime
objects? (type: bool ) |
Method | __init__ | Initialize. |
Method | __setattr__ | Undocumented |
Method | putSubHandler | Undocumented |
Method | getSubHandler | Undocumented |
Method | getSubHandlerPrefixes | Undocumented |
Method | render_POST | Undocumented |
Method | listProcedures | Return a list of the names of all xmlrpc procedures. |
Method | _cbRender | Undocumented |
Method | _ebRender | Undocumented |
Inherited from Resource (via XMLRPC):
Method | listStaticNames | Undocumented |
Method | listStaticEntities | Undocumented |
Method | listNames | Undocumented |
Method | listEntities | Undocumented |
Method | listDynamicNames | Undocumented |
Method | listDynamicEntities | Undocumented |
Method | getStaticEntity | Undocumented |
Method | getDynamicEntity | Undocumented |
Method | delEntity | Undocumented |
Method | reallyPutEntity | Undocumented |
Method | getChild | Retrieve a 'child' resource from me. |
Method | getChildWithDefault | Retrieve a static or dynamically generated child resource from me. |
Method | getChildForRequest | Undocumented |
Method | putChild | Register a static child. |
Method | render | Render a given resource. See IResource 's
render method. |
Method | render_HEAD | Default handling of HEAD method. |
A method decorated with withRequest
which can be called by a test to verify that the request object really is
passed as an argument.
Given a string naming a procedure, return a callable object for that procedure or raise NoSuchFunction.
The returned object will be called, and should return the result of the procedure, a Deferred, or a Fault instance.
Override in subclasses if you want your own policy. The base
implementation that given 'foo'
, self.xmlrpc_foo
will be returned. If procedurePath
contains
self.separator
, the sub-handler for the initial prefix is used
to search for the remaining path.
If you override lookupProcedure
, you may also want to
override listProcedures
to accurately report the procedures
supported by your resource, so that clients using the
system.listMethods procedure receive accurate results.
Present Since | 11.1 |