Is this a valid directory that we should check for an index file?
Is this a valid directory that we should check for an index file?
Note: If you don't want to use index files then this can just return false for everything.
Is this a valid file we can serve?
Is this a valid file we can serve?
Last modified timestamp for a file in milliseconds
Last modified timestamp for a file in milliseconds
Root paths to search (in order) to find a matching file
Root paths to search (in order) to find a matching file
Called once web server shutdown is completed -- Should be idempotent
Called once web server shutdown is completed -- Should be idempotent
Called after the web server is running but before ping is enabled -- Should be idempotent
Called after the web server is running but before ping is enabled -- Should be idempotent
Called when web server shutdown is requested but before actually shutting down -- Should be idempotent
Called when web server shutdown is requested but before actually shutting down -- Should be idempotent
Called before the web server starts up -- Should be idempotent
Called before the web server starts up -- Should be idempotent
Given a file path return the timestamped version of the path if it exists
Given a file path return the timestamped version of the path if it exists
e.g. Given "/js/foo.js" return something like "/js/foo.1470690999454.js" (if the file exists)
This can be called by handleNormal for when the File refers to an actual file on the file system
This can be called by handleNormal for when the File refers to an actual file on the file system
Given a request lookup a RequestHandler that can satisfy it
Given a request lookup a RequestHandler that can satisfy it
If this router doesn't match the request then try that router
If this router doesn't match the request then try that router
Given a file path return the timestamped version of the path.
Given a file path return the timestamped version of the path.
Note: If the file doesn't exist then the path is returned unmodified
e.g. Given "/js/foo.js" return something like "/js/foo.1470690999454.js" (assuming the file exists)
If this request router does not match a request then send the request to the specified default handler
If this request router does not match a request then send the request to the specified default handler
If a RequestHandler throws an Exception then run this handler.
If a RequestHandler throws an Exception then run this handler. Useful for showing an Error Page when a request fails
Run any RequestHandlers returned by this RequestRouter through an optional RequestFilter
Run any RequestHandlers returned by this RequestRouter through an optional RequestFilter
Run any RequestHandlers returned by this RequestRouter through a RequestFilter
Run any RequestHandlers returned by this RequestRouter through a RequestFilter
Run any RequestHandlers returned by this RequestRouter through a sequence of RequestFilter
Run any RequestHandlers returned by this RequestRouter through a sequence of RequestFilter