Begin main content
Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]

::xotcl::Class[i] ::xo::ProtocolHandler

Class Hierarchy of ::xo::ProtocolHandler

  • ::xotcl::Object[i]
    Methods for instances:
    __api_make_doc, __api_make_forward_doc, __timediff, abstract, ad_doc, ad_forward, ad_proc, appendC, arrayC, asHTML, autonameC, check, classC, cleanupC, configureC, containsC, copyC, db_0or1rowC, db_1rowC, debug, defaultmethodC, destroyC, destroy_on_cleanup, ds, evalC, existsC, extractConfigureArg, filterC, filterguardC, filtersearch, forward, hasclass, incrC, infoC, init, instvarC, invarC, isclass, ismetaclass, ismixin, isobject, istype, lappendC, log, method, mixinC, mixinguardC, moveC, msg, noinitC, objectparameter, parametercmdC, proc, procsearch, qn, requireNamespaceC, residualargsC, self, serialize, setC, set_instance_vars_defaults, show-object, substC, traceC, unknown, unsetC, uplevelC, upvarC, volatileC, vwait
    Methods to be applied on the class (in addition to the methods provided by the meta-class):
    getExitHandler, setExitHandler, unsetExitHandler
    • ::xo::ProtocolHandler[i]
      Parameter for instances:
      package, url
      Methods for instances:
      GET, OPTIONS, PROPFIND, PUT, get_package_id, handle_request, http_date, initialize, multiStatus, multiStatusError, multiStatusResonse, preauth, register, set_user_id, tcl_time_to_http_date, tcl_time_to_iso8601, unknown
      Methods to be applied on the class:
      Methods provided by the meta-class

Class Relations

  • superclass: ::xotcl::Object[i]
  • parameter: package[i]
  • subclass: ::xo::dav[i]


  • instproc get_package_id (public)

    <instance of ::xo::ProtocolHandler[i]> get_package_id
    Initialize the given package and return the package_id

  • instproc handle_request (public)

    <instance of ::xo::ProtocolHandler[i]> handle_request args \
        [ args... ]
    Process the incoming HTTP request. This method could be overloaded by the application and dispatches the HTTP requests.

  • instproc initialize (public)

    <instance of ::xo::ProtocolHandler[i]> initialize
    Setup connection object and authenticate user

  • instproc preauth (public)

    <instance of ::xo::ProtocolHandler[i]> preauth args [ args... ]
    Handle authorization. This method is called via ns_filter.

  • instproc register (public)

    <instance of ::xo::ProtocolHandler[i]> register
    Register the the aolserver filter and traces. This method is typically called via *-init.tcl. Note, that the specified url must not have an entry in the site-nodes, otherwise the openacs request processor performs always the cockie-based authorization. To change that, it would be necessary to register the filter before the request processor (currently, there are no hooks for that).

  • instproc set_user_id (public)

    <instance of ::xo::ProtocolHandler[i]> set_user_id
    Set user_id based on authentication header

  • instproc unknown (public)

    <instance of ::xo::ProtocolHandler[i]> unknown method args
    Return connection information similar to ad_conn




Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]