Checks if the input data can be handled by this class. Throws an error if it can't handle the data.
Input data that could potentially be handled.
A promise resolving if the input can be handled, rejecting with an Error if not.
Input data that will be handled if it can be handled.
A promise resolving if the input can be handled, rejecting with an Error if not. Return value depends on the given type.
Extracts an identifier from an incoming HttpRequest. Uses URL library for basic parsing. TODO: input requires more extensive cleaning/parsing based on headers (see #22).