Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object CachingFilters
Useful filters for applying Cache-Controls to request/responses
Link copied to clipboard
object ClientFilters
Link copied to clipboard
Link copied to clipboard
data class CorsPolicy(val originPolicy: OriginPolicy, val headers: List<String>, val methods: List<Method>, val credentials: Boolean = false, val exposedHeaders: List<String> = emptyList(), val maxAge: Int? = null)
Link copied to clipboard
object DebuggingFilters
Link copied to clipboard
data class DefaultCacheTimings(val maxAge: MaxAgeTtl, val staleIfErrorTtl: StaleIfErrorTtl, val staleWhenRevalidateTtl: StaleWhenRevalidateTtl)
Link copied to clipboard
Link copied to clipboard
GzipCompressionMode represents a choice between working lazily with streams when gzipping or eagerly storing the body contents in memory.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
For creating custom origin policy for allowing CORS
Link copied to clipboard
object RequestFilters
Link copied to clipboard
Link copied to clipboard
object ResponseFilters
Link copied to clipboard
Link copied to clipboard
object ServerFilters
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object TrafficFilters
Link copied to clipboard
data class ZipkinTraces(val traceId: TraceId, val spanId: TraceId, val parentSpanId: TraceId?, val samplingDecision: SamplingDecision = SAMPLE)
Link copied to clipboard
interface ZipkinTracesStorage
Functions
Link copied to clipboard
Allows all origins for CORS
Link copied to clipboard
Allows a given list of origins for CORS
Link copied to clipboard
fun HttpHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): (request: Request) -> Response
fun RoutingHttpHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): RoutingHttpHandler
Link copied to clipboard
Use this to wrap a block of code and ensure the current span exists at the end.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Use this to wrap a block of code in a new span. It rolls the span and sets it for the duration of the passed block.
Link copied to clipboard
Link copied to clipboard
Allows a given single origin for CORS
Link copied to clipboard
Allows origin(s) matching a Regex for CORS
Link copied to clipboard