ApplicationCall
Represents a single act of communication between client and server.
Properties
Inheritors
Extensions
Creates a default ContentType based on the given contentType and current call
Produces HTTP/2 push from server to client or sets HTTP/1.x hint header or does nothing. Exact behaviour is up to engine implementation.
Produces HTTP/2 push from server to client or sets HTTP/1.x hint header or does nothing (may call or not call block). Exact behaviour is up to engine implementation.
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.
Sends a message as a response
Responds to a client with a raw bytes response, using specified provider to build a byte array
Responds to a client with a raw bytes response, using specified bytes
Respond with binary content producer.
Responds to a client with a contents of a file
Respond with binary content producer.
Responds to a client with a 301 Moved Permanently
or 302 Found
redirect
Responds to a client with a 301 Moved Permanently
or 302 Found
redirect. Unlike the other respondRedirect it provides a way to build URL based on current call using block function
Responds to a client with a plain text response, using specified text
Responds to a client with a plain text response, using specified provider to build a text
Respond with text content writer.
Returns a sessionId for for a single session identified by ID. This will not work if there are multiple sessions by ID were registered or the Sessions feature is not installed. If you are using multiple sessions, please use sessionId function instead.
Returns the corresponding session ID for the type SessionType or null
if no session provided. It will crash if no session provider for type SessionType installed or no Sessions feature installed.
Get current session or fail if no session feature installed
Detect suitable charset for an application call by Accept
header or fallback to defaultCharset
Creates an url using current call's schema, path and parameters as initial and then invokes block function on the url builder so amend parameters