HttpResourceTree.h
Go to the documentation of this file.
63 HttpResource* set(const String& path, HttpResource* resource, HttpResourcePlugin* plugin, Tail... plugins)
91 HttpResource* set(const String& path, const HttpResourceDelegate& onRequestComplete, HttpResourcePlugin* plugin,
119 HttpResource* set(const String& path, const HttpPathDelegate& callback, HttpResourcePlugin* plugin, Tail... plugins)
Implementation of a HashMap for owned objects, i.e. anything created with new().
Definition: ObjectMap.h:48
HttpResource * setDefault(const HttpResourceDelegate &onRequestComplete)
Set the default resource handler, identified by "*" wildcard.
Definition: HttpResourceTree.h:41
Definition: Delegate.h:20
HttpResource * getDefault()
Get the current default resource handler, if any.
Definition: HttpResourceTree.h:55
HttpResource * setDefault(const HttpPathDelegate &callback)
Set the default resource handler, identified by "*" wildcard.
Definition: HttpResourceTree.h:47
#define RESOURCE_PATH_DEFAULT
Identifies the default resource path.
Definition: HttpResourceTree.h:20
Instances of this class are registered with an HttpServer for a specific URL.
Definition: HttpResource.h:33
HttpResource * setDefault(HttpResource *resource)
Set the default resource handler.
Definition: HttpResourceTree.h:32
Class to map URL paths to classes which handle them.
Definition: HttpResourceTree.h:26
Base plugin class. Implementations should be based on either HttpPreFilter or HttpPostFilter ...
Definition: HttpResourcePlugin.h:23
HttpResource * find(const String &key) const
Find the value for a given key, if it exists.
Definition: ObjectMap.h:225
1.8.13