class RoutingApplicationRequest : ApplicationRequest
Represents an application request being handled by Routing
RoutingApplicationRequest(call: RoutingApplicationCall, pipeline: ApplicationReceivePipeline, request: ApplicationRequest)
Represents an application request being handled by Routing |
val call: RoutingApplicationCall
ApplicationCall instance this ApplicationRequest is attached to |
|
val pipeline: ApplicationReceivePipeline
Pipeline for receiving content |
val ApplicationRequest.httpMethod: HttpMethod
Returns request HTTP method possibly overridden via header X-Http-Method-Override |
|
val ApplicationRequest.httpVersion: String
Request's HTTP version |
|
val ApplicationRequest.origin: RequestConnectionPoint
Represents request and connection parameters possibly overridden via https headers. By default it fallbacks to ApplicationRequest.local |
|
val ApplicationRequest.uri: String
Request's URI (including query string) |
fun ApplicationRequest.accept(): String?
Request's |
|
fun ApplicationRequest.acceptCharset(): String?
Request's |
|
fun ApplicationRequest.acceptCharsetItems(): List<HeaderValue>
Parsed and sorted request's |
|
fun ApplicationRequest.acceptEncoding(): String?
Request's |
|
fun ApplicationRequest.acceptEncodingItems(): List<HeaderValue>
Parsed and sorted request's |
|
fun ApplicationRequest.acceptItems(): List<HeaderValue>
Parsed request's |
|
fun ApplicationRequest.acceptLanguage(): String?
Request's |
|
fun ApplicationRequest.acceptLanguageItems(): List<HeaderValue>
Parsed and sorted request's |
|
fun ApplicationRequest.authorization(): String?
Request authorization header value |
|
fun ApplicationRequest.cacheControl(): String?
Request's |
|
fun ApplicationRequest.contentCharset(): <ERROR CLASS>?
Request's charset |
|
fun ApplicationRequest.contentType(): ContentType
Request's content type or |
|
fun ApplicationRequest.document(): String
Request's document name (substring after the last slash but before query string) |
|
fun ApplicationRequest.header(name: String): String?
First header value for header with name or |
|
fun ApplicationRequest.host(): String
Request's host without port |
|
fun ApplicationRequest.isChunked(): Boolean
Check if request's body is chunk-encoded |
|
fun ApplicationRequest.isMultipart(): Boolean
Check if request body is multipart-encoded |
|
fun ApplicationRequest.location(): String?
Request's |
|
fun ApplicationRequest.path(): String
Request's path without query string |
|
fun ApplicationRequest.port(): Int
Request's port extracted from |
|
fun ApplicationRequest.queryString(): String
Request's query string or empty string if missing |
|
fun ApplicationRequest.ranges(): RangesSpecifier?
Parsed request's |
|
fun ApplicationRequest.toLogString(): String
Generates a string representing this ApplicationRequest suitable for logging |
|
fun ApplicationRequest.userAgent(): String?
Request's |