Module Expr Str ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad TupleLoad Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return Call NameLoad NameLoad orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq NameLoad NameLoad body Return BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Num Index Num Return BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Num Return NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad NameLoad orelse Assign TupleStore NameStore NameStore TupleLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd Num Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr BinOpAdd Str Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Slice Num Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Lambda arguments args defaults Num orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Lambda arguments args defaults Num Return Call NameLoad decorator_list decorator_list
N/A N/A 
I am a virtual hosts implementation.
 __future__ division absolute_import twisted.python roots twisted.web resource VirtualHostCollection N/A N/A roots Homogenous N/A N/A Wrapper for virtual hosts collection.

    This exists for configuration purposes.
     N/A entityType N/A resource Resource __init__ N/A N/A self nvh N/A N/A N/A N/A self nvh nvh N/A listStaticEntities N/A N/A self N/A N/A N/A N/A N/A N/A N/A self nvh hosts items N/A getStaticEntity N/A N/A self name N/A N/A N/A N/A N/A N/A N/A self nvh hosts get self N/A reallyPutEntity N/A N/A self name entity N/A N/A N/A N/A N/A N/A self nvh addHost name entity N/A delEntity N/A N/A self name N/A N/A N/A N/A N/A N/A self nvh removeHost name N/A N/A NameVirtualHost N/A N/A resource Resource N/A N/A I am a resource which represents named virtual hosts.
     N/A default None __init__ N/A N/A self N/A N/A N/A Initialize.
         N/A N/A N/A N/A resource Resource __init__ self N/A N/A self hosts N/A N/A listStaticEntities N/A N/A self N/A N/A N/A N/A N/A N/A N/A resource Resource listStaticEntities self N/A N/A Virtual Hosts N/A VirtualHostCollection self N/A getStaticEntity N/A N/A self name N/A N/A N/A N/A name Virtual Hosts N/A N/A N/A VirtualHostCollection self N/A N/A N/A N/A N/A resource Resource getStaticEntity self name N/A addHost N/A N/A self name resrc N/A N/A N/A Add a host to this virtual host.

        This will take a host named `name', and map it to a resource
        `resrc'.  For example, a setup for our virtual hosts would be::

            nvh.addHost('divunal.com', divunalDirectory)
            nvh.addHost('www.divunal.com', divunalDirectory)
            nvh.addHost('twistedmatrix.com', twistedMatrixDirectory)
            nvh.addHost('www.twistedmatrix.com', twistedMatrixDirectory)
         N/A N/A N/A self hosts N/A name resrc N/A removeHost N/A N/A self name N/A N/A N/A Remove a host. N/A N/A N/A self hosts N/A name N/A _getResourceForRequest N/A N/A self request N/A N/A N/A (Internal) Get the appropriate resource for the given host.
         N/A hostHeader N/A N/A request getHeader host N/A N/A hostHeader None N/A N/A N/A N/A self default N/A N/A resource NoResource N/A N/A host N/A N/A N/A N/A N/A hostHeader lower split : 1 N/A 0 N/A N/A N/A N/A N/A self hosts get host N/A self default N/A N/A resource NoResource N/A host %s not in vhost map N/A repr host N/A render N/A N/A self request N/A N/A N/A Implementation of resource.Resource's render method.
         N/A resrc N/A N/A self _getResourceForRequest request N/A N/A N/A resrc render request N/A getChild N/A N/A self path request N/A N/A N/A Implementation of resource.Resource's getChild method.
         N/A resrc N/A N/A self _getResourceForRequest request N/A N/A resrc isLeaf N/A N/A N/A N/A N/A request postpath insert 0 N/A N/A N/A request prepath pop -1 N/A resrc N/A N/A N/A N/A resrc getChildWithDefault path request N/A N/A _HostResource N/A N/A resource Resource N/A getChild N/A N/A self path request N/A N/A N/A N/A : path N/A N/A N/A host port N/A N/A path split : 1 N/A port N/A int port N/A N/A N/A host port N/A path 80 N/A N/A N/A request setHost host port N/A prefixLen N/A N/A N/A N/A 3 N/A N/A request isSecure 4 N/A len path N/A len N/A N/A request prepath N/A -3 N/A N/A request path N/A / N/A N/A / join N/A request postpath N/A N/A request uri N/A N/A request uri N/A prefixLen N/A N/A N/A request prepath N/A 3 N/A N/A N/A N/A request site getResourceFor request N/A N/A VHostMonsterResource N/A N/A resource Resource N/A N/A 
    Use this to be able to record the hostname and method (http vs. https)
    in the URL without disturbing your web site. If you put this resource
    in a URL http://foo.com/bar then requests to
    http://foo.com/bar/http/baz.com/something will be equivalent to
    http://foo.com/something, except that the hostname the request will
    appear to be accessing will be "baz.com". So if "baz.com" is redirecting
    all requests for to foo.com, while foo.com is inaccessible from the outside,
    then redirect and url generation will work correctly
     getChild N/A N/A self path request N/A N/A N/A N/A path http N/A N/A N/A request isSecure N/A N/A N/A N/A 0 N/A N/A N/A path https N/A N/A N/A request isSecure N/A N/A N/A N/A 1 N/A N/A _HostResource N/A N/A