xo::ProtocolHandler instproc handle_request (public)
<instance of xo::ProtocolHandler> handle_request args \ [ args... ]
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/50-protocol-handler-procs.tcl
Process the incoming HTTP request. This method could be overloaded by the application and dispatches the HTTP requests.
- Parameters:
- args (required)
- Testcases:
- No testcase defined.
Source code: :log "--handle_request method=${:method} uri=${:uri} userid=${:user_id} -ns_conn query '[ns_conn query]'" if {[info exists :package] && ${:uri} ne "/"} { # We don't call package-initialize for ${:uri} = "/" set :package_id [:get_package_id] } if {[:procsearch ${:method}] ne ""} { :${:method} } else { ns_return 404 text/plain "not implemented" }XQL Not present: Generic, PostgreSQL, Oracle