api

http4k / org.http4k.traffic / Source

Source

interface Source

Functions

Name Summary
get abstract operator fun get(request: Request): Response?

Companion Object Functions

Name Summary
DiskTree Looks up traffic from the FS, based on tree storage format.fun DiskTree(baseDir: String = "."): <ERROR CLASS>
MemoryMap Looks up traffic from Memory, based on map storage format.fun MemoryMap(cache: MutableMap<Request, Response>): <ERROR CLASS>

Inheritors

Name Summary
ReadWriteCache Combined Read/Write storage models, optimised for retrieval.interface ReadWriteCache : Sink, Source