PathDelegatingHandler

A request handler that delegates handling of requests to other handlers, based on a configured Ant-style path pattern.

Constructors

this
this(HttpRequestHandler[string] handlers)
Undocumented in source.

Members

Functions

addPath
PathDelegatingHandler addPath(string path, HttpRequestHandler handler)

Adds a new path/handler to this delegating handler.

handle
void handle(HttpRequest request, HttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From HttpRequestHandler

handle
void handle(HttpRequest request, HttpResponse response)

Handles an HTTP request. Note that this method may be called from multiple threads, as requests may be processed in parallel.

Meta