doc/api/urlpublishing.rst
author David Douard <david.douard@logilab.fr>
Mon, 13 Nov 2017 16:08:58 +0100
changeset 12302 0d474f888f4a
parent 10494 b6f00889355c
permissions -rw-r--r--
[statsd] add a statsd_timethis context manager This context manager allows to report to statsd the execution time of any piece of code, without the need for it to be a function or a method, like:: def some_function(): do_stuff() with statsd_timethis('some context message'): do_that() ensure_this()

.. _urlpublishing_module:

:mod:`cubicweb.web.views.urlpublishing`
=======================================

.. automodule:: cubicweb.web.views.urlpublishing

    .. autoexception:: PathDontMatch

    .. autoclass:: URLPublisherComponent
        :show-inheritance:
        :members:

    .. autoclass:: URLPathEvaluator
        :show-inheritance:
        :members:

    .. autoclass:: RawPathEvaluator
        :show-inheritance:
        :members:

    .. autoclass:: EidPathEvaluator
        :show-inheritance:
        :members:

    .. autoclass:: RestPathEvaluator
        :show-inheritance:
        :members:

    .. autoclass:: URLRewriteEvaluator
        :show-inheritance:
        :members:

    .. autoclass:: ActionPathEvaluator
        :show-inheritance:
        :members: