RequestHandler

@FunctionalInterface

Defines handler for incoming request.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

Handles incoming request.

Handles incoming request.

If handler satisfies the request, then it returns a response; otherwise, it returns a request.

Concrete methods

Creates composite handler by applying this after other.

Creates composite handler by applying this after other.

If other returns a request, then the request is passed to this; otherwise, if other returns a response, then this is not invoked.

Value Params
other

initial handler

Creates composite handler by applying this before other.

Creates composite handler by applying this before other.

If this returns a request, then the request is passed to other; otherwise, if this returns a response, then other is not invoked.

Value Params
other

fallback handler