Package io.ktor.server.request
Types
A pipeline for processing incoming content. When executed, this pipeline starts with an instance of ByteReadChannel.
A client's request. To learn how to handle incoming requests, see Handling requests.
Thrown when content cannot be transformed to the desired type.
Thrown when a request body has already been received. Usually it is caused by double ApplicationCall.receive invocation.
Server request's cookies.
Functions
Get a request's Accept
header value.
Gets a request's Accept-Charset
header value.
Gets the Accept-Charset
header charsets sorted according to their qualities.
Gets a request's Accept-Encoding
header value.
Gets the Accept-Encoding
header encoding types sorted according to their qualities.
Gets the Accept
header content types sorted according to their qualities.
Gets a request's Accept-Language
header value.
Gets the Accept-Language
header languages sorted according to their qualities.
Get a request's Authorization
header value.
Gets a request's Cache-Control
header value.
Gets a request's charset.
Gets a request's Content-Length
header value.
Gets a request's content type or returns ContentType.Any
.
A document name is a substring after the last slash but before a query string.
Internal helper function to encode raw parameters. Should not be used directly.
Gets a request's host value without a port.
Checks whether a request's body is chunk-encoded.
Checks whether a request body is multipart-encoded.
Get a request's Location
header value.
Get a request's URL path without a query string.
Gets a request's port extracted from the Host
header value.
Gets a request's query string or returns an empty string if missing.
Gets ranges parsed from a request's Range
header value.
Receives content for this request.
Receives channel content for this call.
Receives multipart data for this call.
Receives content for this request.
Receives form parameters for this call.
Receives stream content for this call.
Receives incoming content for this call as String.
Gets a request's User-Agent
header value.