ó
mÜJ]c           @` sï   d  Z  d d l m Z m Z m Z m Z d d l Z e j e ƒ Z	 d d l
 m Z d d l m Z d d l m Z d d l m Z d d	 l m Z d d
 l m Z d Z d e f d e f g Z d e f d e f d e f d e f g Z d S(   uR   Define standard endpoints and their associated views for a Bokeh Server
application.

These will be added by the :class:`~bokeh.server.tornado.BokehTornado`
application. The Bokeh Tornado application can then be served using Tornado's
built-in ``HTTPServer``.

.. data:: toplevel_patterns
    :annotation:

    Top-level routes, independent of any applications. They will be prefixed
    with any configured prefix.

    .. code-block:: python

        [
            ( r'/?',           RootHandler   ), # <prefix>/
            ( r'/static/(.*)', StaticHandler ), # <prefix>/static/
        ]

.. data:: per_app_patterns
    :annotation:

    Per-application routes. These be prefixed with the application path, as
    well as with any configured prefix.

    .. code-block:: python

        [
            ( r'/?',           DocHandler        ), # <prefix>/<app>/
            ( r'/ws',          WSHandler         ), # <prefix>/<app>/ws
            ( r'/metadata',    MetadataHandler   ), # <prefix>/<app>/metadata
            ( r'/autoload.js', AutoloadJsHandler ), # <prefix>/<app>/autoload.js
        ]

i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsNi   (   t	   WSHandler(   t   RootHandler(   t
   DocHandler(   t   MetadataHandler(   t   StaticHandler(   t   AutoloadJsHandleru   per_app_patternsu   toplevel_patternsu   /?u   /static/(.*)u   /wsu	   /metadatau   /autoload.js(   u   per_app_patternsu   toplevel_patterns(   t   __doc__t
   __future__R    R   R   R   t   loggingt	   getLoggert   __name__t   logt   views.wsR   t   views.root_handlerR   t   views.doc_handlerR   t   views.metadata_handlerR   t   views.static_handlerR   t   views.autoload_js_handlerR	   t   __all__t   toplevel_patternst   per_app_patterns(    (    (    s0   lib/python2.7/site-packages/bokeh/server/urls.pyt   <module>*   s"   " 				