xo::ProtocolHandler instproc handle_request (public)

 <instance of xo::ProtocolHandler[i]> handle_request args \
    [ args... ]

Defined in 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

Partial Call Graph (max 5 caller/called nodes):
%3

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
[ hide source ] | [ make this the default ]
Show another procedure: