PathHandler.setNotFoundHandler

Sets the handler that will be called for requests that don't match any pre-configured mappings.

class PathHandler
setNotFoundHandler

Parameters

handler HttpRequestHandler

The handler to use.

Return Value

This path handler, for method chaining.