Beispiel #1
0
def errorsRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyErrorDelivery()
    b.rootURI = root_uri_errors()
    return b
Beispiel #2
0
def gatewayRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyGateway()
    b.pattern = server_pattern_gateway()[server_provide_gateway()]
    return b
Beispiel #3
0
def contentRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyContent()
    b.rootURI = root_uri_content()
    return b
Beispiel #4
0
def resourcesRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyResources()
    b.rootURI = root_uri_resources()
    return b
Beispiel #5
0
def resourcesRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyResources()
    b.pattern = server_pattern_resources()
    return b
Beispiel #6
0
def errorsRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyErrorDelivery()
    b.pattern = server_pattern_errors()
    return b
def resourcesRouterInternal() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyRESTInternal()
    b.rootURI = root_uri_resources()
    return b
Beispiel #8
0
def errorsRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyErrorDelivery()
    b.rootURI = root_uri_errors()
    return b
Beispiel #9
0
 def resourcesRouterGateway():
     b = RoutingByPathHandler()
     b.assembly = assemblyResourcesGateway()
     b.pattern = server_pattern_resources()
     return b
Beispiel #10
0
def contentRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyContent()
    b.pattern = server_pattern_content()
    return b
Beispiel #11
0
def contentRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyContent()
    b.pattern = server_pattern_content()
    return b
Beispiel #12
0
def errorsRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyErrorDelivery()
    b.pattern = server_pattern_errors()
    return b
Beispiel #13
0
def profileRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyProfile()
    b.pattern = '^profile(?:/|(?=\\.)|$)'
    return b
Beispiel #14
0
def notFoundRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyNotFound()
    b.pattern = '(?:.*)'
    return b
Beispiel #15
0
def gatewayRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyGateway()
    b.pattern = server_pattern_gateway()[server_provide_gateway()]
    return b
Beispiel #16
0
def contentRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyContent()
    b.rootURI = root_uri_content()
    return b
Beispiel #17
0
def notFoundRouter() -> Handler:
    b = RoutingByPathHandler()
    b.assembly = assemblyNotFound()
    b.pattern = '(?:.*)'
    return b