http4k / org.http4k.traffic / Responder


object Responder

Provides HTTP Handlers which respond using pre-stored Requests.


Name Summary
from An HTTP Handler which responds to particular requests with the matching cached responses, or a 503.fun from(source: Source): HttpHandler
An HTTP Handler which responds to from a stream of cached responses, or a 503 once the stream is exhausted.fun from(replay: Replay, shouldReplay: (HttpMessage) -> Boolean = { true }): HttpHandler