Creates a handler for the provided static resources.
A mapping from URL paths to file paths.
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.
Handler that serves static resources on specific paths.