All Types

io.ktor.util.AlwaysFailNonceManager

Stub implementation that always fails. Will be removed so no public signatures should rely on it

io.ktor.util.AttributeKey

Specifies a key for an attribute in Attributes

io.ktor.util.Attributes

Map of attributes accessible by AttributeKey in a typed manner

kotlin.ByteArray (extensions in package io.ktor.util)
java.nio.ByteBuffer (extensions in package io.ktor.util)
io.ktor.util.cio.ByteBufferPool
kotlinx.coroutines.io.ByteReadChannel (extensions in package io.ktor.util)
kotlinx.coroutines.io.ByteReadChannel (extensions in package io.ktor.util.cio)
kotlinx.io.core.ByteReadPacket (extensions in package io.ktor.util)
kotlinx.coroutines.io.ByteWriteChannel (extensions in package io.ktor.util)
kotlinx.coroutines.io.ByteWriteChannel (extensions in package io.ktor.util.cio)
io.ktor.util.CaseInsensitiveMap

A map with case insensitive String keys

io.ktor.util.cio.ChannelIOException

An exception thrown when an IO error occurred during reading or writing to/from the underlying channel. The typical error is "connection reset" and so on.

io.ktor.util.cio.ChannelReadException

An exception that is thrown when an IO error occurred during reading from the request channel. Usually it happens when a remote client closed the connection.

io.ktor.util.cio.ChannelWriteException

An exception that is thrown when an IO error occurred during writing to the destination channel. Usually it happens when a remote client closed the connection.

kotlin.Char (extensions in package io.ktor.util)
java.lang.Class (extensions in package io.ktor.util)
io.ktor.util.collections.ConcurrentMap
io.ktor.util.collections.ConcurrentSet
io.ktor.util.pipeline.ContextDsl

DslMarker for pipeline execution context

java.util.Date (extensions in package io.ktor.util)
io.ktor.util.Digest

Stateful digest class specified to calculate digest.

io.ktor.util.Encoder

Content encoder.

java.io.File (extensions in package io.ktor.util)
java.io.File (extensions in package io.ktor.util.cio)
io.ktor.util.date.GMTDate

Date in GMT timezone

io.ktor.util.GenerateOnlyNonceManager

This implementation does only generate nonce values but doesn't validate them. This is recommended for testing only.

io.ktor.util.Hash
io.ktor.util.Identity

Empty Encoder

kotlinx.io.core.Input (extensions in package io.ktor.util)
java.io.InputStream (extensions in package io.ktor.util.cio)
java.time.Instant (extensions in package io.ktor.util.date)
io.ktor.util.InternalAPI

API marked with this annotation is ktor internal and it is not intended to be used outside. It could be modified or removed without any notice. Using it outside of ktor could cause undefined behaviour and/or any strange effects.

io.ktor.util.pipeline.InvalidPhaseException

An exception about misconfigured phases in a pipeline

kotlinx.coroutines.Job (extensions in package io.ktor.util)
io.ktor.util.KtorExperimentalAPI

API marked with this annotation is experimental and is not guaranteed to be stable.

io.ktor.util.Lock
io.ktor.util.LockTicket
org.slf4j.Logger (extensions in package io.ktor.util)
kotlin.ranges.LongRange (extensions in package io.ktor.util)
io.ktor.util.date.Month

Month value is 3 letter shortcut

io.ktor.util.NonceManager

Represents a nonce manager. It's responsibility is to produce nonce values and verify nonce values from untrusted sources that they are provided by this manager. This is usually required in web environment to mitigate CSRF attacks. Depending on it's underlying implementation it could be stateful or stateless. Note that there is usually some timeout for nonce values to reduce memory usage and to avoid replay attacks. Nonce length is unspecified.

io.ktor.util.cio.NoopContinuation
java.nio.file.Path (extensions in package io.ktor.util)
java.nio.file.Path (extensions in package io.ktor.util.cio)
io.ktor.util.pipeline.Pipeline

Represents an execution pipeline for asynchronous extensible computations

io.ktor.util.pipeline.PipelineContext

Represents running execution of a pipeline

io.ktor.util.pipeline.PipelineExecutor

Represent an object that launches pipeline execution

io.ktor.util.pipeline.PipelineInterceptor

Represents an interceptor type which is a suspend extension function for context

io.ktor.util.pipeline.PipelinePhase

Represents a phase in a pipeline

io.ktor.util.ReadWriteLock
java.nio.channels.ReadableByteChannel (extensions in package io.ktor.util)
io.ktor.util.cio.Semaphore

Asynchronous Semaphore.

kotlin.collections.Set (extensions in package io.ktor.util)
io.ktor.util.StatelessHmacNonceManager

Stateless nonce manager implementation with HMAC verification and timeout. Every nonce provided by this manager consist of a random part, timestamp and HMAC.

kotlin.String (extensions in package io.ktor.util)
io.ktor.util.StringValues

Provides data structure for associating a String with a List of Strings

io.ktor.util.StringValuesBuilder
io.ktor.util.StringValuesImpl
io.ktor.util.StringValuesSingleImpl
io.ktor.util.date.WeekDay

Day of week value is 3 letter shortcut

java.nio.channels.WritableByteChannel (extensions in package io.ktor.util)
java.time.ZonedDateTime (extensions in package io.ktor.util.date)