Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

addPhase(phase) - Method in class io.ktor.util.pipeline.Pipeline
Adds phase to the end of this pipeline
afterIntercepted() - Method in class io.ktor.util.pipeline.Pipeline
Invoked after an interceptor has been installed
AlwaysFailNonceManager - Class in io.ktor.util
Deprecated. 
append(name, value) - Method in class io.ktor.util.StringValuesBuilder
 
appendAll(stringValues) - Method in class io.ktor.util.StringValuesBuilder
 
appendAll(name, values) - Method in class io.ktor.util.StringValuesBuilder
 
appendAll($receiver, builder) - Static method in class io.ktor.util.StringValuesKt
Append all values from the specified builder
appendFiltered($receiver, source, keepEmpty, predicate) - Static method in class io.ktor.util.StringValuesKt
Append values from source filtering values by the specified predicate
appendMissing(stringValues) - Method in class io.ktor.util.StringValuesBuilder
 
appendMissing(name, values) - Method in class io.ktor.util.StringValuesBuilder
 
asStream($receiver) - Static method in class io.ktor.util.InputJvmKt
Convert kotlinx.io Input to java InputStream
AttributeKey<T> - Class in io.ktor.util
Specifies a key for an attribute in interface Attributes
AttributeKey(name) - Constructor for class io.ktor.util.AttributeKey
Specifies a key for an attribute in interface Attributes
Attributes - Interface in io.ktor.util
Map of attributes accessible by class AttributeKey in a typed manner
Attributes(concurrent) - Static method in class io.ktor.util.AttributesJvmKt
Create JVM specific attributes instance
Attributes.DefaultImpls - Class in io.ktor.util
Map of attributes accessible by class AttributeKey in a typed manner
AttributesJvmKt - Class in io.ktor.util
 

B

Base64JvmKt - Class in io.ktor.util
 
Base64Kt - Class in io.ktor.util
 
bufferedWriter($receiver, charset) - Static method in class io.ktor.util.cio.OutputStreamAdaptersKt
Open a buffered writer to the channel
BufferViewJvmKt - Class in io.ktor.util
 
build($receiver, bytes, p) - Static method in class io.ktor.util.CryptoKt
 
build($receiver, string, charset, p) - Static method in class io.ktor.util.CryptoKt
 
build(p) - Method in interface io.ktor.util.Digest
 
build(caseInsensitiveName, builder) - Method in class io.ktor.util.StringValues.Companion
Builds a interface StringValues instance with the given builder function
build() - Method in class io.ktor.util.StringValuesBuilder
 
ByteBufferPool - Class in io.ktor.util.cio
 
ByteBufferPool() - Constructor for class io.ktor.util.cio.ByteBufferPool
 
ByteBufferPoolKt - Class in io.ktor.util.cio
 
ByteChannelsKt - Class in io.ktor.util
 

C

CaseInsensitiveMap<Value> - Class in io.ktor.util
A map with case insensitive String keys
CaseInsensitiveMap() - Constructor for class io.ktor.util.CaseInsensitiveMap
A map with case insensitive String keys
caseInsensitiveMap() - Static method in class io.ktor.util.CollectionsKt
Create an instance of case insensitive mutable map. For internal use only.
ChannelIOException - Exception in io.ktor.util.cio
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.
ChannelIOException(message, exception) - Constructor for exception 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.
ChannelReadException - Exception in io.ktor.util.cio
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.
ChannelReadException(message, exception) - Constructor for exception 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.
ChannelWriteException - Exception in io.ktor.util.cio
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.
ChannelWriteException(message, exception) - Constructor for exception 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.
CharsetKt - Class in io.ktor.util
 
chomp($receiver, separator, onMissingDelimiter) - Static method in class io.ktor.util.TextKt
Splits the given string into two parts before and after separator.
clear() - Method in class io.ktor.util.CaseInsensitiveMap
 
clear() - Method in class io.ktor.util.StringValuesBuilder
 
clearInstance(instance) - Method in class io.ktor.util.cio.ByteBufferPool
 
CollectionsJvmKt - Class in io.ktor.util
 
CollectionsKt - Class in io.ktor.util
 
combine(objects) - Method in class io.ktor.util.Hash
 
combineSafe($receiver, relativePath) - Static method in class io.ktor.util.NioPathKt
Append a relativePath safely that means that adding any extra .. path elements will not let access anything out of the reference directory (unless you have symbolic or hard links or multiple mount points)
combineSafe($receiver, relativePath) - Static method in class io.ktor.util.NioPathKt
Append a relativePath safely that means that adding any extra .. path elements will not let access anything out of the reference directory (unless you have symbolic or hard links or multiple mount points)
combineSafe($receiver, relativePath) - Static method in class io.ktor.util.PathKt
Append a relativePath safely that means that adding any extra .. path elements will not let access anything out of the reference directory (unless you have symbolic or hard links or multiple mount points)
Companion - Static variable in class io.ktor.util.date.GMTDate
 
Companion - Static variable in enum io.ktor.util.date.Month
 
Companion - Static variable in enum io.ktor.util.date.WeekDay
 
Companion - Static variable in interface io.ktor.util.StringValues
 
compareTo(other) - Method in class io.ktor.util.date.GMTDate
 
CompatibilityKt - Class in io.ktor.pipeline
 
component1() - Method in class io.ktor.util.date.GMTDate
:
component2() - Method in class io.ktor.util.date.GMTDate
:
component3() - Method in class io.ktor.util.date.GMTDate
:
component4() - Method in class io.ktor.util.date.GMTDate
an instance of the corresponding day of week
component5() - Method in class io.ktor.util.date.GMTDate
:
component6() - Method in class io.ktor.util.date.GMTDate
:
component7() - Method in class io.ktor.util.date.GMTDate
an instance of the corresponding month
component8() - Method in class io.ktor.util.date.GMTDate
:
component9() - Method in class io.ktor.util.date.GMTDate
is a number of epoch milliseconds
computeIfAbsent(key, block) - Method in interface io.ktor.util.Attributes
Gets a value of the attribute for the specified key, or calls supplied block to compute its value
contains(key) - Method in interface io.ktor.util.Attributes
Checks if an attribute with the specified key exists
contains($receiver, other) - Static method in class io.ktor.util.RangesKt
Returns true if other range is fully contained inside this range
contains(name) - Method in interface io.ktor.util.StringValues
Checks if the given name exists in the map
contains(name, value) - Method in interface io.ktor.util.StringValues
Checks if the given name and value pair exists in the map
contains($this, name) - Static method in class io.ktor.util.StringValues.DefaultImpls
Checks if the given name exists in the map
contains($this, name, value) - Static method in class io.ktor.util.StringValues.DefaultImpls
Checks if the given name and value pair exists in the map
contains(name) - Method in class io.ktor.util.StringValuesBuilder
 
contains(name, value) - Method in class io.ktor.util.StringValuesBuilder
 
contains(name) - Method in class io.ktor.util.StringValuesImpl
Checks if the given name exists in the map
contains(name, value) - Method in class io.ktor.util.StringValuesImpl
Checks if the given name and value pair exists in the map
contains(name) - Method in class io.ktor.util.StringValuesSingleImpl
Checks if the given name exists in the map
contains(name, value) - Method in class io.ktor.util.StringValuesSingleImpl
Checks if the given name and value pair exists in the map
containsKey(key) - Method in class io.ktor.util.CaseInsensitiveMap
 
containsValue(value) - Method in class io.ktor.util.CaseInsensitiveMap
 
ContextDsl - Interface in io.ktor.util.pipeline
DslMarker for pipeline execution context
copy(seconds, minutes, hours, dayOfWeek, dayOfMonth, dayOfYear, month, year, timestamp) - Method in class io.ktor.util.date.GMTDate
Date in GMT timezone
copy($receiver, size) - Static method in class io.ktor.util.NIOKt
Moves all bytes in this buffer to a newly created buffer with the optionally specified size
copy($receiver, pool, size) - Static method in class io.ktor.util.NIOKt
Moves all bytes in this buffer to a newly created buffer with the optionally specified size by allocating it from the given pool
CryptoKt - Class in io.ktor.util
 

D

DateJvmKt - Class in io.ktor.util.date
 
DateKt - Class in io.ktor.util.date
 
DatesJvmKt - Class in io.ktor.util
 
DateUtilsKt - Class in io.ktor.util.date
 
decodeBase64(s) - Static method in class io.ktor.util.Base64JvmKt
Decode bytes from a BASE64 string s
decodeBase64($receiver) - Static method in class io.ktor.util.Base64Kt
Decode String from base64 format
decodeBase64($receiver) - Static method in class io.ktor.util.Base64Kt
Decode ByteReadPacket from base64 format
decodeString($receiver, charset) - Static method in class io.ktor.util.NIOKt
Decodes a string from this buffer with the specified charset
deflated($receiver, gzip, pool, coroutineContext) - Static method in class io.ktor.util.DeflaterKt
Launch a coroutine on coroutineContext that does deflate compression optionally doing CRC and writing GZIP header and trailer if gzip = true
deflated($receiver, gzip, pool, coroutineContext) - Static method in class io.ktor.util.DeflaterKt
Launch a coroutine on coroutineContext that does deflate compression optionally doing CRC and writing GZIP header and trailer if gzip = true
DeflaterKt - Class in io.ktor.util
 
Digest(name) - Static method in class io.ktor.util.CryptoKt
 
Digest - Interface in io.ktor.util
 

E

encodeBase64(bytes) - Static method in class io.ktor.util.Base64JvmKt
Encode bytes as a BASE64 string
encodeBase64($receiver) - Static method in class io.ktor.util.Base64Kt
Encode String in base64 format
encodeBase64($receiver) - Static method in class io.ktor.util.Base64Kt
Encode ByteReadPacket in base64 format
enter(p) - Method in class io.ktor.util.cio.Semaphore
Enters the semaphore.
entries() - Method in interface io.ktor.util.StringValues
Gets all entries from the map
entries() - Method in class io.ktor.util.StringValuesBuilder
 
entries() - Method in class io.ktor.util.StringValuesImpl
Gets all entries from the map
entries() - Method in class io.ktor.util.StringValuesSingleImpl
Gets all entries from the map
equals(other) - Method in class io.ktor.util.CaseInsensitiveMap
 
equals(p) - Method in class io.ktor.util.date.GMTDate
 
equals(other) - Method in class io.ktor.util.StringValuesImpl
 
equals(other) - Method in class io.ktor.util.StringValuesSingleImpl
 
error($receiver, exception) - Static method in class io.ktor.util.LoggingKt
Logs an error from an exception using its message
escapeHTML($receiver) - Static method in class io.ktor.util.TextKt
Escapes the characters in a String using HTML entities
execute(context, subject, p) - Method in class io.ktor.util.pipeline.Pipeline
Executes this pipeline in the given context and with the given subject
execute(initial, p) - Method in interface io.ktor.util.pipeline.PipelineExecutor
Start pipeline execution or fail if already running and not yet completed. It should not be invoked concurrently.

F

FileChannelsAtNioPathKt - Class in io.ktor.util.cio
 
FileChannelsKt - Class in io.ktor.util.cio
 
filter($receiver, keepEmpty, predicate) - Static method in class io.ktor.util.StringValuesKt
Create a new instance of interface StringValues filtered by the specified predicate
findAllSupertypes($receiver) - Static method in class io.ktor.util.ReflectionKt
Deprecated. 
finish() - Method in interface io.ktor.util.pipeline.PipelineContext
Finishes current pipeline execution
flattenEntries($receiver) - Static method in class io.ktor.util.StringValuesKt
Copy values to a list of pairs
flattenForEach($receiver, block) - Static method in class io.ktor.util.StringValuesKt
Invoke block function for every value pair
forEach($this, body) - Static method in class io.ktor.util.StringValues.DefaultImpls
Iterates over all entries in this map and calls body for each pair
forEach(body) - Method in interface io.ktor.util.StringValues
Iterates over all entries in this map and calls body for each pair
forEach(body) - Method in class io.ktor.util.StringValuesImpl
Iterates over all entries in this map and calls body for each pair
forEach(body) - Method in class io.ktor.util.StringValuesSingleImpl
Iterates over all entries in this map and calls body for each pair
from(ordinal) - Method in class io.ktor.util.date.Month.Companion
Lookup an instance by ordinal
from(value) - Method in class io.ktor.util.date.Month.Companion
Lookup an instance by short month name Month.value
from(ordinal) - Method in class io.ktor.util.date.WeekDay.Companion
Lookup an instance by ordinal
from(value) - Method in class io.ktor.util.date.WeekDay.Companion
Lookup an instance by short week day name WeekDay.value

G

generateNonce() - Static method in class io.ktor.util.CryptoKt
Generates a nonce string 16 characters long. Could block if the system's entropy source is empty
generateNonce(size) - Static method in class io.ktor.util.CryptoKt
 
GenerateOnlyNonceManager - Class in io.ktor.util
This implementation does only generate nonce values but doesn't validate them. This is recommended for testing only.
get($this, key) - Static method in class io.ktor.util.Attributes.DefaultImpls
Gets a value of the attribute for the specified key, or throws an exception if an attribute doesn't exist
get(key) - Method in interface io.ktor.util.Attributes
Gets a value of the attribute for the specified key, or throws an exception if an attribute doesn't exist
get(key) - Method in class io.ktor.util.CaseInsensitiveMap
 
get($this, name) - Static method in class io.ktor.util.StringValues.DefaultImpls
Gets first value from the list of values associated with a name, or null if the name is not present
get(name) - Method in interface io.ktor.util.StringValues
Gets first value from the list of values associated with a name, or null if the name is not present
get(name) - Method in class io.ktor.util.StringValuesBuilder
 
get(name) - Method in class io.ktor.util.StringValuesImpl
Gets first value from the list of values associated with a name, or null if the name is not present
get(name) - Method in class io.ktor.util.StringValuesSingleImpl
Gets first value from the list of values associated with a name, or null if the name is not present
getAlgorithm() - Method in class io.ktor.util.StatelessHmacNonceManager
HMAC algorithm name,
getAll(name) - Method in interface io.ktor.util.StringValues
Gets all values associated with the name, or null if the name is not present
getAll(name) - Method in class io.ktor.util.StringValuesBuilder
 
getAll(name) - Method in class io.ktor.util.StringValuesImpl
Gets all values associated with the name, or null if the name is not present
getAll(name) - Method in class io.ktor.util.StringValuesSingleImpl
Gets all values associated with the name, or null if the name is not present
getAllKeys() - Method in interface io.ktor.util.Attributes
Returns List of all class AttributeKey instances in this map
getAttributes() - Method in class io.ktor.util.pipeline.Pipeline
Provides common place to store pipeline attributes
getBuilt() - Method in class io.ktor.util.StringValuesBuilder
 
getCaseInsensitiveName() - Method in interface io.ktor.util.StringValues
Specifies if map has case-sensitive or case-insensitive names
getCaseInsensitiveName() - Method in class io.ktor.util.StringValuesBuilder
 
getCaseInsensitiveName() - Method in class io.ktor.util.StringValuesImpl
Specifies if map has case-sensitive or case-insensitive names
getCaseInsensitiveName() - Method in class io.ktor.util.StringValuesSingleImpl
Specifies if map has case-sensitive or case-insensitive names
getContext() - Method in class io.ktor.util.cio.NoopContinuation
Deprecated.
 
getContext() - Method in interface io.ktor.util.pipeline.PipelineContext
Object representing context in which pipeline executes
getDayOfMonth() - Method in class io.ktor.util.date.GMTDate
:
getDayOfWeek() - Method in class io.ktor.util.date.GMTDate
an instance of the corresponding day of week
getDayOfYear() - Method in class io.ktor.util.date.GMTDate
:
getDigestFunction(algorithm, salt) - Static method in class io.ktor.util.CryptoKt
Create a digest function with the specified algorithm and salt
getEmpty() - Method in class io.ktor.util.StringValues.Companion
Empty interface StringValues instance
getEntries() - Method in class io.ktor.util.CaseInsensitiveMap
 
getExtension($receiver) - Static method in class io.ktor.util.NioPathKt
Finds an extension of the given Path
getGreenwichMeanTime() - Static method in class io.ktor.util.DatesJvmKt
Deprecated. 
getHours() - Method in class io.ktor.util.date.GMTDate
:
getItems() - Method in class io.ktor.util.pipeline.Pipeline
Phases of this pipeline
getKeys() - Method in class io.ktor.util.CaseInsensitiveMap
 
getKeySpec() - Method in class io.ktor.util.StatelessHmacNonceManager
secret key spec for HMAC
getKtorDefaultPool() - Static method in class io.ktor.util.cio.ByteBufferPoolKt
The default ktor byte buffer pool
getLength($receiver) - Static method in class io.ktor.util.RangesKt
Deprecated. 
getLimit() - Method in class io.ktor.util.cio.Semaphore
is the semaphores permits count limit
getMinutes() - Method in class io.ktor.util.date.GMTDate
:
getMonth() - Method in class io.ktor.util.date.GMTDate
an instance of the corresponding month
getName() - Method in class io.ktor.util.AttributeKey
is a name of the attribute for diagnostic purposes
getName() - Method in class io.ktor.util.pipeline.PipelinePhase
a name for this phase
getName() - Method in class io.ktor.util.StringValuesSingleImpl
 
getNonceGenerator() - Method in class io.ktor.util.StatelessHmacNonceManager
function that produces random values
getNonceRandom() - Static method in class io.ktor.util.CryptoKt
Deprecated. 
getOrNull(key) - Method in interface io.ktor.util.Attributes
Gets a value of the attribute for the specified key, or return null if an attribute doesn't exist
getSeconds() - Method in class io.ktor.util.date.GMTDate
:
getSize() - Method in class io.ktor.util.CaseInsensitiveMap
 
getSTART() - Method in class io.ktor.util.date.GMTDate.Companion
An instance of class GMTDate corresponding to the epoch beginning
getSubject() - Method in interface io.ktor.util.pipeline.PipelineContext
Subject of this pipeline execution that goes along the pipeline
getTimeoutMillis() - Method in class io.ktor.util.StatelessHmacNonceManager
specifies the amount of time for a nonce to be considered valid
getTimestamp() - Method in class io.ktor.util.date.GMTDate
is a number of epoch milliseconds
getValue() - Method in enum io.ktor.util.date.Month
 
getValue() - Method in enum io.ktor.util.date.WeekDay
 
getValues() - Method in class io.ktor.util.CaseInsensitiveMap
 
getValues() - Method in class io.ktor.util.StringValuesBuilder
 
getValues() - Method in class io.ktor.util.StringValuesImpl
 
getValues() - Method in class io.ktor.util.StringValuesSingleImpl
 
getYear() - Method in class io.ktor.util.date.GMTDate
:
GMTDate(timestamp) - Static method in class io.ktor.util.date.DateJvmKt
Create new gmt date from the timestamp.
GMTDate(seconds, minutes, hours, dayOfMonth, month, year) - Static method in class io.ktor.util.date.DateJvmKt
Create an instance of class GMTDate from the specified date/time components
GMTDate - Class in io.ktor.util.date
Date in GMT timezone
GMTDate.Companion - Class in io.ktor.util.date
 

H

Hash - Class in io.ktor.util
 
hashCode() - Method in class io.ktor.util.CaseInsensitiveMap
 
hashCode() - Method in class io.ktor.util.date.GMTDate
 
hashCode() - Method in class io.ktor.util.StringValuesImpl
 
hashCode() - Method in class io.ktor.util.StringValuesSingleImpl
 
hex(bytes) - Static method in class io.ktor.util.CryptoKt
Encode bytes as a HEX string with no spaces, newlines and 0x prefixes.
hex(s) - Static method in class io.ktor.util.CryptoKt
Decode bytes from HEX string. It should be no spaces and 0x prefixes.

I

InputJvmKt - Class in io.ktor.util
 
InputStreamAdaptersKt - Class in io.ktor.util.cio
 
insertPhaseAfter(reference, phase) - Method in class io.ktor.util.pipeline.Pipeline
Inserts phase after the reference phase
insertPhaseBefore(reference, phase) - Method in class io.ktor.util.pipeline.Pipeline
Inserts phase before the reference phase
INSTANCE - Static variable in class io.ktor.util.AlwaysFailNonceManager
Deprecated.
Stub implementation that always fails. Will be removed so no public signatures should rely on it
INSTANCE - Static variable in class io.ktor.util.cio.NoopContinuation
Deprecated.
 
INSTANCE - Static variable in class io.ktor.util.GenerateOnlyNonceManager
This implementation does only generate nonce values but doesn't validate them. This is recommended for testing only.
INSTANCE - Static variable in class io.ktor.util.Hash
 
intercept(phase, block) - Method in class io.ktor.util.pipeline.Pipeline
Adds block to the phase of this pipeline
InternalAPI - Interface in io.ktor.util
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.
InvalidPhaseException - Exception in io.ktor.util.pipeline
An exception about misconfigured phases in a pipeline
InvalidPhaseException(message) - Constructor for exception io.ktor.util.pipeline.InvalidPhaseException
An exception about misconfigured phases in a pipeline
io.ktor.pipeline - package io.ktor.pipeline
 
io.ktor.util - package io.ktor.util
 
io.ktor.util.cio - package io.ktor.util.cio
 
io.ktor.util.date - package io.ktor.util.date
 
io.ktor.util.pipeline - package io.ktor.util.pipeline
 
isEmpty() - Method in class io.ktor.util.CaseInsensitiveMap
 
isEmpty() - Method in class io.ktor.util.pipeline.Pipeline
 
isEmpty() - Method in interface io.ktor.util.StringValues
Checks if this map is empty
isEmpty() - Method in class io.ktor.util.StringValuesBuilder
 
isEmpty() - Method in class io.ktor.util.StringValuesImpl
Checks if this map is empty
isEmpty() - Method in class io.ktor.util.StringValuesSingleImpl
Checks if this map is empty
isLowerCase($receiver) - Static method in class io.ktor.util.CharsetKt
Check if Char is in lower case

K

KtorExperimentalAPI - Interface in io.ktor.util
API marked with this annotation is experimental and is not guaranteed to be stable.

L

leave() - Method in class io.ktor.util.cio.Semaphore
Exits the semaphore.
Lock - Class in io.ktor.util
 
Lock() - Constructor for class io.ktor.util.Lock
 
lock() - Method in class io.ktor.util.Lock
 
LockKt - Class in io.ktor.util
 
LoggingKt - Class in io.ktor.util
 

M

merge(from) - Method in class io.ktor.util.pipeline.Pipeline
Merges another pipeline into this pipeline, maintaining relative phases order
minus($receiver, milliseconds) - Static method in class io.ktor.util.date.DateKt
Subtracts the specified number of milliseconds
Month - Enum in io.ktor.util.date
Month value is 3 letter shortcut
Month(value) - Constructor for enum io.ktor.util.date.Month
Month value is 3 letter shortcut
Month.Companion - Class in io.ktor.util.date
 
moveTo($receiver, destination, limit) - Static method in class io.ktor.util.NIOKt
Moves bytes from this buffer to the destination buffer
moveToByteArray($receiver) - Static method in class io.ktor.util.NIOKt
Moves bytes from this buffer into newly created ByteArray and returns it

N

names() - Method in interface io.ktor.util.StringValues
Gets all names from the map
names() - Method in class io.ktor.util.StringValuesBuilder
 
names() - Method in class io.ktor.util.StringValuesImpl
Gets all names from the map
names() - Method in class io.ktor.util.StringValuesSingleImpl
Gets all names from the map
newNonce(p) - Method in class io.ktor.util.AlwaysFailNonceManager
Deprecated.
Generate new nonce instance
newNonce(p) - Method in class io.ktor.util.GenerateOnlyNonceManager
Generate new nonce instance
newNonce(p) - Method in interface io.ktor.util.NonceManager
Generate new nonce instance
newNonce(p) - Method in class io.ktor.util.StatelessHmacNonceManager
Generate new nonce instance
nextNonce() - Static method in class io.ktor.util.CryptoKt
Deprecated. 
NIOKt - Class in io.ktor.util
 
NioPathKt - Class in io.ktor.util
 
NonceKt - Class in io.ktor.util
 
NonceManager - Interface in io.ktor.util
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.
NoopContinuation - Class in io.ktor.util.cio
Deprecated. 
normalizeAndRelativize($receiver) - Static method in class io.ktor.util.NioPathKt
Remove all redundant . and .. path elements. Leading .. are also considered redundant.
normalizeAndRelativize($receiver) - Static method in class io.ktor.util.PathKt
Remove all redundant . and .. path elements. Leading .. are also considered redundant.

O

OutputStreamAdaptersKt - Class in io.ktor.util.cio
 

P

PathKt - Class in io.ktor.util
 
Pipeline<TSubject,TContext> - Class in io.ktor.util.pipeline
Represents an execution pipeline for asynchronous extensible computations
Pipeline(phases) - Constructor for class io.ktor.util.pipeline.Pipeline
Represents an execution pipeline for asynchronous extensible computations
Pipeline(phase, interceptors) - Constructor for class io.ktor.util.pipeline.Pipeline
 
PipelineContext<TSubject,TContext> - Interface in io.ktor.util.pipeline
Represents running execution of a pipeline
PipelineContextKt - Class in io.ktor.util.pipeline
 
PipelineExecutor<R> - Interface in io.ktor.util.pipeline
Represent an object that launches pipeline execution
pipelineExecutorFor(context, interceptors, subject) - Static method in class io.ktor.util.pipeline.PipelineContextKt
Build a pipeline of the specified interceptors and create executor
PipelineKt - Class in io.ktor.util.pipeline
 
PipelinePhase - Class in io.ktor.util.pipeline
Represents a phase in a pipeline
PipelinePhase(name) - Constructor for class io.ktor.util.pipeline.PipelinePhase
Represents a phase in a pipeline
plus($receiver, milliseconds) - Static method in class io.ktor.util.date.DateKt
Adds the specified number of milliseconds
plusAssign(bytes) - Method in interface io.ktor.util.Digest
 
proceed(p) - Method in interface io.ktor.util.pipeline.PipelineContext
Continues execution of the pipeline with the same subject
proceedWith(subject, p) - Method in interface io.ktor.util.pipeline.PipelineContext
Continues execution of the pipeline with the given subject
produceInstance() - Method in class io.ktor.util.cio.ByteBufferPool
 
put(key, value) - Method in interface io.ktor.util.Attributes
Creates or changes an attribute with the specified key using value
put(key, value) - Method in class io.ktor.util.CaseInsensitiveMap
 
putAll(from) - Method in class io.ktor.util.CaseInsensitiveMap
 

R

RangesKt - Class in io.ktor.util
 
raw(s) - Static method in class io.ktor.util.CryptoKt
Deprecated. 
read($receiver, buffer) - Static method in class io.ktor.util.BufferViewJvmKt
Read from a NIO channel into the specified buffer Could return 0 if the channel is non-blocking or buffer has no free space
readChannel($receiver, start, endInclusive) - Static method in class io.ktor.util.cio.FileChannelsAtNioPathKt
Open a read channel for file and launch a coroutine to fill it. Please note that file reading is blocking so if you are starting it on Dispatchers.Unconfined it may block your async code
readChannel($receiver) - Static method in class io.ktor.util.cio.FileChannelsAtNioPathKt
Open a read channel for file and launch a coroutine to fill it. Please note that file reading is blocking so if you are starting it on Dispatchers.Unconfined it may block your async code
readChannel($receiver, start, endInclusive, coroutineContext) - Static method in class io.ktor.util.cio.FileChannelsKt
Open a read channel for file and launch a coroutine to fill it. Please note that file reading is blocking so if you are starting it on Dispatchers.Unconfined it may block your async code
ReadersKt - Class in io.ktor.util.cio
 
ReflectionKt - Class in io.ktor.util
 
remove(key) - Method in interface io.ktor.util.Attributes
Removes an attribute with the specified key
remove(key) - Method in class io.ktor.util.CaseInsensitiveMap
 
remove(name) - Method in class io.ktor.util.StringValuesBuilder
 
remove(name, value) - Method in class io.ktor.util.StringValuesBuilder
 
removeKeysWithNoEntries() - Method in class io.ktor.util.StringValuesBuilder
 
reset() - Method in interface io.ktor.util.Digest
 
resumeWith(result) - Method in class io.ktor.util.cio.NoopContinuation
Deprecated.
 

S

Semaphore - Class in io.ktor.util.cio
Asynchronous Semaphore.
Semaphore(limit) - Constructor for class io.ktor.util.cio.Semaphore
Asynchronous Semaphore.
set(name, value) - Method in class io.ktor.util.StringValuesBuilder
 
setBuilt(p) - Method in class io.ktor.util.StringValuesBuilder
 
sha1(bytes) - Static method in class io.ktor.util.CryptoKt
Compute SHA-1 hash for the specified bytes
split($receiver, coroutineScope) - Static method in class io.ktor.util.ByteChannelsKt
Split source ByteReadChannel into 2 new one. Cancel of one channel in split(input or both outputs) cancels other channels.
StackFramesJvmKt - Class in io.ktor.util
 
StatelessHmacNonceManager - Class in io.ktor.util
Stateless nonce manager implementation with HMAC verification and timeout. Every nonce provided by this manager consist of a random part, timestamp and HMAC.
StatelessHmacNonceManager(keySpec, algorithm, timeoutMillis, nonceGenerator) - Constructor for class 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.
StatelessHmacNonceManager(key, algorithm, timeoutMillis, nonceGenerator) - Constructor for class io.ktor.util.StatelessHmacNonceManager
Helper constructor that makes a secret key from key ByteArray
StringValues - Interface in io.ktor.util
Provides data structure for associating a String with a List of Strings
StringValues.Companion - Class in io.ktor.util
 
StringValues.DefaultImpls - Class in io.ktor.util
Provides data structure for associating a String with a List of Strings
StringValuesBuilder - Class in io.ktor.util
 
StringValuesBuilder(caseInsensitiveName, size) - Constructor for class io.ktor.util.StringValuesBuilder
 
StringValuesBuilder() - Constructor for class io.ktor.util.StringValuesBuilder
 
StringValuesImpl - Class in io.ktor.util
 
StringValuesImpl(caseInsensitiveName, values) - Constructor for class io.ktor.util.StringValuesImpl
 
StringValuesImpl() - Constructor for class io.ktor.util.StringValuesImpl
 
StringValuesKt - Class in io.ktor.util
 
StringValuesSingleImpl - Class in io.ktor.util
 
StringValuesSingleImpl(caseInsensitiveName, name, values) - Constructor for class io.ktor.util.StringValuesSingleImpl
 

T

take($this, key) - Static method in class io.ktor.util.Attributes.DefaultImpls
Removes an attribute with the specified key and returns its current value, throws an exception if an attribute doesn't exist
take(key) - Method in interface io.ktor.util.Attributes
Removes an attribute with the specified key and returns its current value, throws an exception if an attribute doesn't exist
takeOrNull($this, key) - Static method in class io.ktor.util.Attributes.DefaultImpls
Removes an attribute with the specified key and returns its current value, returns null if an attribute doesn't exist
takeOrNull(key) - Method in interface io.ktor.util.Attributes
Removes an attribute with the specified key and returns its current value, returns null if an attribute doesn't exist
TextKt - Class in io.ktor.util
 
toByteArray($receiver, limit, p) - Static method in class io.ktor.util.cio.ReadersKt
Convert ByteReadChannel to ByteArray
toByteReadChannel($receiver, pool, context, parent) - Static method in class io.ktor.util.cio.InputStreamAdaptersKt
Open a channel and launch a coroutine to copy bytes from the input stream to the channel. Please note that it may block your async code when started on Dispatchers.Unconfined since InputStream is blocking on it's nature
toCharArray($receiver) - Static method in class io.ktor.util.CharsetKt
Convert String to CharArray
toGMTDate($receiver) - Static method in class io.ktor.util.date.DateUtilsKt
Convert Instant to class GMTDate
toGMTDate($receiver) - Static method in class io.ktor.util.date.DateUtilsKt
Convert ZonedDateTime to class GMTDate
toJvmDate($receiver) - Static method in class io.ktor.util.date.DateJvmKt
Convert to Date
toLocalDateTime($receiver) - Static method in class io.ktor.util.DatesJvmKt
Deprecated. 
toMap($receiver) - Static method in class io.ktor.util.StringValuesKt
Copy values to a new independent map
toString() - Method in class io.ktor.util.AttributeKey
 
toString() - Method in class io.ktor.util.date.GMTDate
 
toString() - Method in class io.ktor.util.pipeline.PipelinePhase
 
toString() - Method in class io.ktor.util.StringValuesImpl
 
toString() - Method in class io.ktor.util.StringValuesSingleImpl
 
toZonedDateTime($receiver) - Static method in class io.ktor.util.DatesJvmKt
Deprecated. 
truncateToSeconds($receiver) - Static method in class io.ktor.util.date.DateKt
Truncate to seconds by discarding sub-second part

U

unlock() - Method in class io.ktor.util.Lock
 
unmodifiable($receiver) - Static method in class io.ktor.util.CollectionsJvmKt
Wraps into an unmodifiable set
use($receiver, block) - Static method in class io.ktor.util.cio.ReadersKt
Executes block on ByteWriteChannel and close it down correctly whether an exception
use($receiver, block) - Static method in class io.ktor.util.LockKt
 

V

valuesOf(pairs, caseInsensitiveKey) - Static method in class io.ktor.util.StringValuesKt
Build an instance of interface StringValues from a vararg list of pairs
valuesOf(name, value, caseInsensitiveKey) - Static method in class io.ktor.util.StringValuesKt
Build an instance of interface StringValues from a single pair
valuesOf(name, values, caseInsensitiveKey) - Static method in class io.ktor.util.StringValuesKt
Build an instance of interface StringValues with a single name and multiple values
valuesOf() - Static method in class io.ktor.util.StringValuesKt
Build an empty interface StringValues instance.
valuesOf(map, caseInsensitiveKey) - Static method in class io.ktor.util.StringValuesKt
Build an instance of interface StringValues from the specified map
verifyNonce(nonce, p) - Method in class io.ktor.util.AlwaysFailNonceManager
Deprecated.
Verify nonce value
verifyNonce(nonce, p) - Method in class io.ktor.util.GenerateOnlyNonceManager
Verify nonce value
verifyNonce(nonce, p) - Method in interface io.ktor.util.NonceManager
Verify nonce value
verifyNonce(nonce, p) - Method in class io.ktor.util.StatelessHmacNonceManager
Verify nonce value

W

WeekDay - Enum in io.ktor.util.date
Day of week value is 3 letter shortcut
WeekDay(value) - Constructor for enum io.ktor.util.date.WeekDay
Day of week value is 3 letter shortcut
WeekDay.Companion - Class in io.ktor.util.date
 
write($receiver, buffer) - Static method in class io.ktor.util.BufferViewJvmKt
Write bytes to a NIO channel from the specified buffer Could return 0 if the channel is non-blocking or buffer has no free space
write($receiver, string, charset, p) - Static method in class io.ktor.util.cio.OutputStreamAdaptersKt
Write a string in the specified charset
writeChannel($receiver, pool) - Static method in class io.ktor.util.cio.FileChannelsKt
Open a write channel for file and launch a coroutine to read from it. Please note that file writing is blocking so if you are starting it on Dispatchers.Unconfined it may block your async code
writer($receiver, charset) - Static method in class io.ktor.util.cio.OutputStreamAdaptersKt
Open a writer to the channel
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links