Part of bzrlib.smart.request View In Hierarchy
This doesn't handle serialization at all, it just processes requests and creates responses.
Method | __init__ | Constructor. |
Method | accept_body | Accept body data. |
Method | end_of_body | No more body data will be received. |
Method | headers_received | Undocumented |
Method | args_received | Undocumented |
Method | end_received | Undocumented |
Method | post_body_error_received | Undocumented |
Method | _trace | Undocumented |
Method | _run_handler_code | Run some handler specific code 'callable'. |
Method | _call_converting_errors | Call callable converting errors to Response objects. |
Parameters | backing_transport | a Transport to handle requests for. |
commands | a registry mapping command names to SmartServerRequest subclasses. e.g. bzrlib.transport.smart.vfs.vfs_commands. |
If a result is returned, it is considered to be the commands response, and finished_reading is set true, and its assigned to self.response.
Any exceptions caught are translated and a response object created from them.